summaryrefslogtreecommitdiffstats
path: root/include/stdlib.h
AgeCommit message (Expand)AuthorFilesLines
2019-05-10Inroduce malloc_conceal() and calloc_conceal(). Similar to theirotto1-1/+3
2018-11-21Introducing malloc_usable_size() was a mistake. While some otherotto1-2/+1
2018-11-18Implement malloc_usable_size(); ok millert@ deraadt@ and jmc@ for the man pageotto1-1/+2
2018-11-05Implement C11's aligned_alloc(3). ok guenther@otto1-1/+6
2017-09-05New POSIX xlocale implementation written from scratch.schwarze1-4/+3
2017-05-11arc4random_buf should be bounded buffer, not bounded stringtom1-2/+2
2017-05-10Add bounded attribute to freezero(). OK tom@millert1-2/+3
2017-04-10Introducing freezero(3) a version of free that guarantees the processotto1-1/+2
2017-03-06Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)otto1-1/+2
2016-09-20Remove duplicated includes in stdlib.h and termios.hfcambus1-3/+1
2016-09-09Move the 10 (!) defintions of NULL to their own mini header file andmillert1-12/+2
2015-07-14The first argument to devname(3) should be dev_t, not int.millert1-2/+2
2015-02-08add restrict to strtol like functions. ok guenthertedu1-10/+10
2015-01-15we don't have an alloca() symbol anywhere in libc, don't prototype it.tedu1-2/+2
2014-12-08Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48()deraadt1-1/+6
2014-12-08header changes for recent libc changes:tedu1-5/+1
2014-08-31Add additional userland interfaces for setting close-on-exec on fdsguenther1-1/+9
2014-07-09Clean up after arc4random u_int32_t uint32_t changebeck1-3/+3
2014-04-22change mallocarray to reallocarray. useful in a few more situations.tedu1-2/+2
2014-04-21Introducing: void *mallocarray(size_t nmemb, size_t size);deraadt1-1/+4
2013-12-28Annotate a few more bounded functions: realpath(3) needs a buffermartynas1-2/+3
2013-12-13Fix typo; 200809 not 20080 for __POSIX_VISIBLE. Noticed by jca@millert1-2/+2
2013-11-22The getopt() prototype and externs don't belong in stdlib.h. Berkeleymillert1-8/+5
2013-10-21Remove arc4random_stir() and arc4random_addrandom(), which none shouldderaadt1-4/+1
2013-05-31Add getprogname() and setprogname() to ease slackers^porters' work.ajacoutot1-1/+5
2012-12-03Simple emulation of POSIX pty APIs posix_openpt(), ptsname(),millert1-1/+9
2012-06-01Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(),guenther1-14/+37
2011-07-03As pointed out by Richard Guenther our definitionjsg1-1/+3
2011-04-06Define NULL as a void * instead of a long integer, as required by Single Unix.miod1-2/+2
2010-05-18add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromtedu1-1/+2
2009-06-03Make putenv(), setenv() and unsetenv() standards compliant. Themillert1-3/+3
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15martynas1-1/+3
2008-06-24remove recalloc; sloppy me; ok deraadt@otto1-2/+1
2008-06-20Remove obsolete (and erroneous) #if statement that caused all compilersragge1-6/+2
2008-06-13Add strtof() to libc, some ports seem to like it. Currently it's a simplelandry1-1/+2
2008-03-16diff from djm@ committed at his request:otto1-1/+5
2007-09-03add recaloc(3)millert1-1/+2
2006-09-17add lldiv prototype; ok deraadt@djm1-1/+3
2006-03-31after we changed mode_t to be an int, the devname() man page wasderaadt1-2/+2
2006-01-13Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()millert1-2/+9
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_millert1-11/+9
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedmillert1-45/+78
2005-05-27mktemp(3) et al. go in stdlib.h, not unistd.h. While there be moremillert1-1/+5
2005-05-11major abi changes:espie1-2/+3
2004-08-03Update strtonum() protormillert1-3/+3
2004-05-03strtonum prototypetedu1-1/+3
2004-05-03Add _Exit(3) as per C99. Discussed with espie@ some time ago.millert1-1/+2
2004-01-21Prototype llabs(3). Forgotten commit gathering bit rot in my tree...millert1-1/+3
2003-08-01add __bounded__ attributes for userland headers; enabled with -Wboundedavsm1-3/+5
2003-06-26backout the __bounded__ attributes for a while; requested by deraadt@avsm1-5/+3