summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
AgeCommit message (Expand)AuthorFilesLines
2015-10-25Hide __atexit and __atexit_register_cleanup()guenther2-2/+9
2015-10-25Use sigaction() instead of signal() to avoid pulling in unnecessaryguenther1-3/+5
2015-10-23Loop the waitpid() on EINTR, and save and restore the disposition ofguenther1-9/+12
2015-10-23Merge the sigaction() and sigprocmask() overloads/wrappers from libpthreadguenther1-4/+3
2015-10-13In rev 1.15 the sizeof argument was fixed in a strlcat() call butmillert1-2/+2
2015-10-01Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In oneguenther1-4/+2
2015-09-26lint is dead: delete useless LINTLIBRARY commentsguenther2-4/+2
2015-09-19Don't wrap initialized variables: binutils appears to be mishandling themguenther1-1/+3
2015-09-14Only two of the *rand48.c files need <math.h>, so just #include it in themguenther3-4/+5
2015-09-14use .Va for global variables, and .Vt where the type is includedschwarze1-4/+3
2015-09-14Remove cast of int* to int*guenther1-2/+2
2015-09-13For now, permit overriding of the malloc family, to make emacs happyguenther1-6/+6
2015-09-13Overshot w/PROTO_DEPRECATED: seed48_deterministic() is used internallyguenther1-1/+2
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther20-24/+49
2015-09-12Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go directguenther2-2/+4
2015-09-12Wrap <getopt.h> to make the functions weak and make access to the initializedguenther1-1/+6
2015-09-10Pull in namespace.h when building all .c files using gcc's -include option,guenther1-2/+1
2015-09-10reduce .Nd to one line and kill .Tn while hereschwarze5-25/+15
2015-09-10missing commas at the end of .Nm lines in the NAME sectionschwarze1-3/+3
2015-08-27Move the __rand48_* declarations into rand48.h, and then hide both themguenther7-25/+13
2015-08-20All these files include <stdlib.h>, so do not need to castderaadt2-5/+5
2015-06-21Just return if nmemb is 0. Avoids a NULL dereference and ismillert1-1/+4
2015-05-12Add dlclose(3) to SEE ALSOguenther1-2/+3
2015-05-11When checking flags that will be passed to open(), test the O_ACCMODE portionguenther1-2/+3
2015-04-14Another couple of commas in the wrong place, ok jmcnicm1-3/+3
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,guenther1-1/+19
2015-04-06improve realloc. when expanding a region, actually use the free page cachetedu1-7/+16
2015-03-14remove incorrect statement. the standard *does* require calloc to checktedu1-7/+2
2015-02-15lsearch and lfind return void *tedu1-4/+4
2015-01-29Use .Rv where appropriate, and move it to RETURN VALUES;schwarze2-18/+7
2015-01-17Improve wording in alloca.tedu1-7/+5
2015-01-16Move to the <limits.h> universe.deraadt3-9/+6
2015-01-08missing , found by Dongsheng Songderaadt1-3/+3
2015-01-05rename kern enter/exit macros to malloc enter/leave to better reflecttedu1-7/+7
2014-12-16typo; ok deraadtsthen2-3/+3
2014-12-16warn for correct symbolderaadt1-2/+2
2014-12-09Xr and Ox fixes;jmc3-12/+18
2014-12-09random seed buffer must be unsignedderaadt1-2/+2
2014-12-09fix NAME;jmc1-3/+3
2014-12-09improve warnings from rand_r(), rand(), and random()deraadt2-3/+8
2014-12-09more standardsier: cast to int to make sure we keep the negative numbers.tedu1-2/+2
2014-12-08Oops, got the sense of the test backwards. Hilarious that we didn't spot it.deraadt1-1/+1
2014-12-08Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48()deraadt13-159/+267
2014-12-08remove cfree from documentationtedu1-19/+3
2014-12-08delete obsolete sunos cfree function. ok deraadt millert naddytedu2-42/+3
2014-12-08avoid left shift overflow in reallocarray.bcook1-2/+2
2014-12-06malloc(3) is in the "comp" install set, malloc.conf(5) in "man",schwarze2-128/+10
2014-11-30Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99.schwarze10-30/+30
2014-11-30obvious STANDARDS updateschwarze2-14/+10
2014-11-25rand() is a pseudo-random number generatormillert1-3/+3