summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2016-01-06Long ago, malloc internally had two kinds of failures, warnings and errors.Ted Unangst
2016-01-04Follow style(9) and drop lint /* NOTREACHED */ annotations fromtb
2015-12-30another case where bad things would happen after wrterrorTed Unangst
2015-12-30if somebody makes the mistake of disabling abort, don't deref null inTed Unangst
2015-12-28Remove NULL-checks before free() and a few related dead assignments.mmcc
2015-12-27remove unused variableCharles Longeau
2015-12-18Simplify return call of rand() and rand_r() to make it easier to read.tb
2015-12-10tiny sanity check on file sizeTed Unangst
2015-12-09Integrate two patches originally from Daniel Micay.Ted Unangst
2015-11-30change Xrs from now-defunct db(3) to dbopen(3); this wasn;t aJason McIntyre
2015-11-25Wrap <icdb.h> so that calls go direct and the symbols are all weakPhilip Guenther
2015-11-24Don't fake a bulleted list by prefixing items with 'o'.Anthony J. Bentley
2015-11-18add a version field to prevent mayhem if different data gets storedTed Unangst
2015-11-18update for new symbols and codeTed Unangst
2015-11-18Add icdb, the internal c database. A simpler replacement for the oldTed Unangst
2015-11-10update NAME section to include all documented functions,Jason McIntyre
2015-11-10libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()Philip Guenther
2015-10-25Move the _atfork_list definition to atexit.c so that the fork syscall stubPhilip Guenther
2015-10-25Hide __atexit and __atexit_register_cleanup()Philip Guenther
2015-10-25Use sigaction() instead of signal() to avoid pulling in unnecessaryPhilip Guenther
2015-10-23Loop the waitpid() on EINTR, and save and restore the disposition ofPhilip Guenther
2015-10-23Merge the sigaction() and sigprocmask() overloads/wrappers from libpthreadPhilip Guenther
2015-10-13In rev 1.15 the sizeof argument was fixed in a strlcat() call butTodd C. Miller
2015-10-01Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In onePhilip Guenther
2015-09-26lint is dead: delete useless LINTLIBRARY commentsPhilip Guenther
2015-09-19Don't wrap initialized variables: binutils appears to be mishandling themPhilip Guenther
2015-09-14Only two of the *rand48.c files need <math.h>, so just #include it in themPhilip Guenther
2015-09-14use .Va for global variables, and .Vt where the type is includedIngo Schwarze
2015-09-14Remove cast of int* to int*Philip Guenther
2015-09-13For now, permit overriding of the malloc family, to make emacs happyPhilip Guenther
2015-09-13Overshot w/PROTO_DEPRECATED: seed48_deterministic() is used internallyPhilip Guenther
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in thePhilip Guenther
2015-09-12Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go directPhilip Guenther
2015-09-12Wrap <getopt.h> to make the functions weak and make access to the initializedPhilip Guenther
2015-09-10Pull in namespace.h when building all .c files using gcc's -include option,Philip Guenther
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-09-10missing commas at the end of .Nm lines in the NAME sectionIngo Schwarze
2015-08-27Move the __rand48_* declarations into rand48.h, and then hide both themPhilip Guenther
2015-08-20All these files include <stdlib.h>, so do not need to castTheo de Raadt
2015-06-21Just return if nmemb is 0. Avoids a NULL dereference and isTodd C. Miller
2015-05-12Add dlclose(3) to SEE ALSOPhilip Guenther
2015-05-11When checking flags that will be passed to open(), test the O_ACCMODE portionPhilip Guenther
2015-04-14Another couple of commas in the wrong place, ok jmcNicholas Marriott
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,Philip Guenther
2015-04-06improve realloc. when expanding a region, actually use the free page cacheTed Unangst
2015-03-14remove incorrect statement. the standard *does* require calloc to checkTed Unangst
2015-02-15lsearch and lfind return void *Ted Unangst
2015-01-29Use .Rv where appropriate, and move it to RETURN VALUES;Ingo Schwarze
2015-01-17Improve wording in alloca.Ted Unangst
2015-01-16Move to the <limits.h> universe.Theo de Raadt