summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
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
2015-01-08missing , found by Dongsheng SongTheo de Raadt
2015-01-05rename kern enter/exit macros to malloc enter/leave to better reflectTed Unangst
2014-12-16typo; ok deraadtStuart Henderson
2014-12-16warn for correct symbolTheo de Raadt
2014-12-09Xr and Ox fixes;Jason McIntyre
2014-12-09random seed buffer must be unsignedTheo de Raadt
2014-12-09fix NAME;Jason McIntyre
2014-12-09improve warnings from rand_r(), rand(), and random()Theo de Raadt
2014-12-09more standardsier: cast to int to make sure we keep the negative numbers.Ted Unangst
2014-12-08Oops, got the sense of the test backwards. Hilarious that we didn't spot it.Theo de Raadt
2014-12-08Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48()Theo de Raadt
2014-12-08remove cfree from documentationTed Unangst
2014-12-08delete obsolete sunos cfree function. ok deraadt millert naddyTed Unangst
2014-12-08avoid left shift overflow in reallocarray.Brent Cook
2014-12-06malloc(3) is in the "comp" install set, malloc.conf(5) in "man",Ingo Schwarze
2014-11-30Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99.Ingo Schwarze
2014-11-30obvious STANDARDS updateIngo Schwarze
2014-11-25rand() is a pseudo-random number generatorTodd C. Miller
2014-11-25Don't describe random() as "better".Todd C. Miller
2014-11-25Warn people to use arc4random() in DESCRIPTION so they see it usingTodd C. Miller
2014-11-20Document behavior of atexit() when called in a DSO that is later unloaded.Philip Guenther
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley