summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2003-05-14Delete reference to /usr/share/doc/papers/malloc.ascii.gz as we do notKenneth R Westerback
2003-05-12Ideas from NetBSD: document nmemb and include sradixsort in the NAME section.Paul Janzen
2003-05-10typos;Jason McIntyre
2003-05-09Pass ndigit+1 as size arg to strlcpy() since ndigit doesn't include the NULTodd C. Miller
2003-05-09assembler versions of insque and remque for m68k, also from 4.4BSDTodd C. Miller
2003-05-09insque and remque are VAX instructions, no need for C functions; From 4.4BSDTodd C. Miller
2003-05-09Oops, forgot to add remque.c hereTodd C. Miller
2003-05-08move insque(3) and remque(3) from libcompat -> libc; they are now POSIXTodd C. Miller
2003-05-08move lsearch(3) and insque(3) from libcompat -> libc; they are now POSIXTodd C. Miller
2003-04-21Mention that stroul() et al *do* accept negative numbers, theyTodd C. Miller
2003-04-10make the second example valid; ok millert@Jason Peel
2003-04-04strcat -> strlcatHans Insulander
2003-04-02use strlcpy(); assumes buf is at least ndigit bytes long which is asTodd C. Miller
2003-03-06.Xr's;Jason McIntyre
2003-03-06Fix a pasto. (There is no ULLONG_MIN, for hopefully obvious reasons)Kjell Wooding
2003-02-28Use int32_t, not long since this deals with 32bit quantities.Todd C. Miller
2003-02-24of ofTheo de Raadt
2003-01-21typos;Jason McIntyre
2003-01-14Add sanity check to prevent int oflow for very large allocations.Todd C. Miller
2002-12-10use proper __findenv() prototype; millert@ okMichael Shalayeff
2002-12-10Document BSD behavior of accepting '-' within optstring as long asTodd C. Miller
2002-12-10When doing permutation, only treat "-" as an option if it was specifiedTodd C. Miller
2002-12-08Fix pasto, spotted by lebel@Todd C. Miller
2002-12-08In BUGS section, append a warning to not use '-' as the first characterTodd C. Miller
2002-12-08SUS (and apparently 1003.1-2001) say to check optstring for NULLTodd C. Miller
2002-12-08If we are passed "-" in argv and the user didn't specify '-' in optstring,Todd C. Miller
2002-12-08BSD getopt() supports '-' in the optstring so we should too.Todd C. Miller
2002-12-07Fix pasto in last commit.Todd C. Miller
2002-12-07For getopt_long_only() we *do* want to match single-character optionsTodd C. Miller
2002-12-06In srandomdev(), if we can't access /dev/arandom, use the sysctl() instead.Todd C. Miller
2002-12-06Fix two compatibility issues with our getopt_long_only() vs. the GNU version:Todd C. Miller
2002-12-05Correctly handle -Wlong_arg (no space between -W and long_arg) when "W;"Todd C. Miller
2002-12-05Reorganize this so that getopt_only_only() works correctly.Todd C. Miller
2002-12-05make getopt_long and getopt_long_only protos match getopt.hTodd C. Miller
2002-12-04Add "RETURN VALUES" sectionsTodd C. Miller
2002-12-04.Xr getopt_longTodd C. Miller
2002-12-03Whoops, add missing #ifdef REPLACE_GETOPTTodd C. Miller
2002-12-03fix typoTodd C. Miller
2002-12-03GNU-like getopt_long() from NetBSD with changes by me to supportTodd C. Miller
2002-12-02Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code.Todd C. Miller
2002-11-27Honour malloc_junk ('J') with realloc(3), and fix page_dir shrink update.Thierry Deval
2002-11-25Warn if atexit(3) fails. Change some tabs to spaces. UseChad Loder
2002-11-21.Xr atoll(3) and add missing .Xr of atol(3) in atoll(3) man page.Todd C. Miller
2002-11-21Take advantage of the libc minor bump and add atoll(3)Todd C. Miller
2002-11-05thread safe libc -- 2nd try. OK miod@, millert@Marco S Hyman
2002-11-03back out previous patch.. there are still some vax/m68k issuesMarco S Hyman
2002-11-03libc changes for thread safety. Tested on:Marco S Hyman
2002-09-14Move __cleanup into mprotect'ed page to prevent unintentional modificationsDaniel Hartmeier
2002-09-06missing include, ok theoHenning Brauer
2002-08-30re-enable function pointer table protection, this time make sure thatDaniel Hartmeier