summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Expand)Author
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
2008-04-04- do not call pthread_atfork(3) handlers when a multithreaded programKurt Miller
2008-02-20use pgfree pool like other code does to reserve free list slots.Otto Moerbeek
2007-11-13Put limits.h in front of stdlib.h as style(9) recommends.Tobias Stoeckmann
2007-11-11strtod may return HUGE_VAL on overflow, which is defined in math.h.Tobias Stoeckmann
2007-10-31Add parentheses to avoid warning:Charles Longeau
2007-09-05Add missing header to avoid warningCharles Longeau
2007-09-05no need to talk about bits; ok millert jmcTheo de Raadt
2007-09-03Update free(3) section--we use mmap()/munmap(), not brk().Todd C. Miller
2007-09-03Add __cxa_atexit() support for gcc3. This provides support for shared object...Todd C. Miller
2007-09-03add recaloc(3)Todd C. Miller
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-08Clarify the example about avoiding overflow. OK ray@ deraadt@Todd C. Miller
2007-07-06Reference limits.h, not sys/param.h since we document using PATH_MAXTodd C. Miller
2007-07-03from ginsbach@netbsd, -r1.18:Jason McIntyre
2007-06-29Document behavior when no conversion could be performed. AdaptedTodd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-10Support for optional args separated with whitespace was removedTodd C. Miller
2007-02-12get cheaper random bytes, less waste and no getpid() calls, which areOtto Moerbeek
2007-02-06fix some dodgy displays;Jason McIntyre
2007-01-16sync with the code: int -> intmax_tSteven Mestdagh
2007-01-08advertising clauses that can be droppedTheo de Raadt
2006-12-19a failed mmap returns MAP_FAILED, not NULL. found while exercising paxOtto Moerbeek
2006-11-02columns for underflow and overflow were swapped, noticed by Mathieu OlivierAlexander von Gernler
2006-10-30must pull in sys/types.h unconditionaly, because it is needed my pthreadsTheo de Raadt
2006-10-29make __dtoa & strtod() thread-safe useing the same method as newer gdtoaTheo de Raadt
2006-10-24respond to ben hawkes's ruxcon presentation.Ted Unangst
2006-10-13__mips64__ handling too.. sighTheo de Raadt
2006-10-12sparc64 should be in the #ifdefTheo de Raadt
2006-10-12use __amd64__ instead, until lint is fixedTheo de Raadt
2006-10-12reorder #if tests because apparently on amd64 cpp proceeds to blow it'sTheo de Raadt
2006-10-10Teach'em about cpus in spandexMiod Vallat
2006-10-04from wiz@netbsd:Jason McIntyre
2006-10-01Make a var volatile, which forces a mem write at the right spot, andOtto Moerbeek
2006-09-22Back out change in rev 1.15 of to allow whitespace to separate aTodd C. Miller
2006-06-06Fix 'double by a factor of two' and make cache options a bit morePedro Martelletto
2006-05-19fix a !foo & bar.Thordur I. Bjornsson
2006-05-14Fix the second malloc_ulimit regression: maintaining the free listOtto Moerbeek
2006-04-25strtonum does not require limits.hTed Unangst
2006-04-24Do not leave an hole in the directory list if allocation of theOtto Moerbeek
2006-04-18delint; original from deraadt@ with fixes from tdeval@ and me;Otto Moerbeek
2006-04-04POSIX says tdelete() returns the parent of the deleted node. Sadly theOtto Moerbeek
2006-04-04When tdelete() is used to delete the root node, don't return aMoritz Jodeit
2006-04-02Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX andOtto Moerbeek
2006-03-29Xr to strtonum(3), because vice versa is already the caseAlexander von Gernler
2006-03-26Add warning about malloc(num * size) and recommend calloc() instead,Ray Lai
2006-03-15Removes extraneous variables from getopt(3). Inspired by one ofRay Lai
2006-02-22Avouid a race in atexit() handling by introducing a lock. ProblemOtto Moerbeek
2006-02-14quick path for free(0)Marc Espie
2006-01-30document posixness;Jason McIntyre