summaryrefslogtreecommitdiff
path: root/include/stdlib.h
AgeCommit message (Collapse)Author
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-05-27mktemp(3) et al. go in stdlib.h, not unistd.h. While there be moreTodd C. Miller
explicit about mktemp(3) in the man page.
2005-05-11major abi changes:Marc Espie
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of. * Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports). * use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile. bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed. Discussed and matthieu, otto, millert, kettenis, deraadt. Major libc bump
2004-08-03Update strtonum() protorTodd C. Miller
2004-05-03strtonum prototypeTed Unangst
2004-05-03Add _Exit(3) as per C99. Discussed with espie@ some time ago.Todd C. Miller
2004-01-21Prototype llabs(3). Forgotten commit gathering bit rot in my tree...Todd C. Miller
2003-08-01add __bounded__ attributes for userland headers; enabled with -WboundedAnil Madhavapeddy
ok deraadt@
2003-06-26backout the __bounded__ attributes for a while; requested by deraadt@Anil Madhavapeddy
2003-06-26Mark various standard library functions with the __bounded__ attribute.Anil Madhavapeddy
You must have an up-to-date gcc for this! deraadt@ ok
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-12-03GNU-like getopt_long() from NetBSD with changes by me to supportTodd C. Miller
getopt_long_only(). At some point this should replace the BSD getopt(3) but we are not there yet. While I am here add protection from the multiple getopt() definitions due to conflicting standards.
2002-12-02Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code.Todd C. Miller
2002-12-02Add prototype for atoll(3). I must have forgotten to commit this bitTodd C. Miller
when I committed atoll(3).
2002-10-25NULL is now 0L so it is the same size as a pointer.Todd C. Miller
OK mickey@ and discussed with deraadt@
2002-06-29Replace strtou?q() with the more standard strtou?ll(), using weakTodd C. Miller
aliases to fake up strtou?q(). espie@ OK.
2002-02-20Revert local changes that snuck in to the last commit.Todd C. Miller
2002-02-20Some user header files may define an abs macro which will cause aTodd C. Miller
syntax error if the #define happens before stdlib.h is included. If abs is #defined, #undef and issue a warning. This is similar to what Tru64 UNIX does and is effectively the same as what happens on Solaris (though on Solaris the real abs() is a macro).
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-04Ghostscript port refused to build with 'printf' in theKenneth R Westerback
__attribute__ statement. Using '__printf__' makes it happy. ok millert@ miod@
2001-11-01Mention printf-like attributes for setproctitle().Miod Vallat
millert@ espie@ ok
2001-06-18Add new cgetusedb() function to toggle reading of .db files in getcap(3).Todd C. Miller
Needed for cap_mkdb to really DRT when given several input files or an output file with a different name from the input file. cvs: ----------------------------------------------------------------------
2000-04-03Add srandomdev() from FreeBSD for use by sendmail and others.Todd C. Miller
1999-11-27In ANSI C++, wchar_t is a builtin. gcc 2.95.1 handles that correctly.Marc Espie
Redefining it as a typedef is an error, as it prevents overloading on e.g., int/wchar_t separately.
1999-06-11Define NULL to be __null for C++: better quality of implementation.Marc Espie
__null is a magic constant of integral type that converts to a null pointer as should be, but warns for ambiguity when used to resolved an overload between an integral type and a pointer type.
1999-02-25constify getcap(3). This fixes a warning in libcurses and doesn'tTodd C. Miller
really change the API since those parameters that was been constified really are not modified by getcap(3) routines.
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).David Leonard
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
1998-02-07More XPG4.2 --Todd C. Miller
setstate takes a const parameter don't ever spew to stderr, just return NULL
1998-02-06size_t n in initstate(); XPGTheo de Raadt
1997-12-09for XPG, do not use special typedef typesTheo de Raadt
1997-09-21Well, as we are heading for a release people are encouraged to rebuild theirNiklas Hallqvist
entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
1996-12-28arc4random() number generator, for use with things like RPC xid's.dm
1995-12-30abort() and exit() need __dead tags in stdlib.h; mike.long@analog.com;Theo de Raadt
netbsd pr#1845
1995-10-18initial import of NetBSD treeTheo de Raadt