summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Collapse)Author
2002-01-12If the user passes in "" as the string to resolve the lstat() willTodd C. Miller
fail anyway so check for that. Also convert "." to "" since that way we avoid the lstat() (which we don't need) and the subsequent chdir() and some dir checks.
2001-12-29Two functions can return errors here, not just one.Miod Vallat
2001-12-06alloca cannot check if the allocation is valid. mention the consequences; ↵Theo de Raadt
millert ok
2001-12-05correct an alignment mis-conception for malloc(0) returned regions.Thierry Deval
OK deraadt@
2001-12-05document how malloc(0) blobbies are stored, and their characterTheo de Raadt
2001-11-05Comment out info on U (utrace) malloc option since we don't support itTodd C. Miller
on OpenBSD.
2001-11-01remove dangling spaces and tabsMichael Shalayeff
2001-10-30Grammar. Thanks markus@Thierry Deval
2001-10-30mprotect allocations sized at 0 bytes. This will cause a fault for accessThierry Deval
to such, permitting them to be discovered, instead of exploited as the ssh crc insertion detector was. Idea by theo, written by tdeval.
2001-10-29fix docs; tedu@heorot.stanford.eduTheo de Raadt
2001-09-06Initial idea from aaron@: Last char of .Xr group in SEE ALSO section shouldMike Pechkin
be a single digit. Powered by mantoya@. millert@ ok.
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-08-06o) We always close .Bl and .Bd tags;Mike Pechkin
o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
2001-07-27clean up.Mike Pechkin
millert@ ok
2001-07-09a first pass at -WallTheo de Raadt
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2001-06-09remove confusing comparison with srand (it does not return the old seed)assar
use .Sh AUTHORS and .An for author
2001-05-13unsigned -> unsigned int; grange@rt.mipt.ruTodd C. Miller
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2001-05-10Use madvise(MADV_FREE) to allow the 'h' option.Artur Grabowski
(the code was already there, just not enabled).
2001-04-23Various man page fixes and improvements from gluk@Aaron Campbell
2001-03-08document that exit() -> wait() only returns low bitsTheo de Raadt
2000-12-24Various repairs, mostly to get rid of short lines.Aaron Campbell
2000-12-15.Sh EXAMPLE -> .Sh EXAMPLES. Even if there's only one example, at leastAaron Campbell
this is consistent.
2000-12-15.Sh EXAMPLE -> .Sh EXAMPLES. Move this section before SEE ALSO where itAaron Campbell
belongs. Closes PR/1554 from bk@rt.fm.
2000-10-25Clarify; gluk@ptci.ruAaron Campbell
2000-10-06Add a CAVEATS section to warn programmers that shell meta-characters willAaron Campbell
be passed to the command interpreter.
2000-08-09For man pages that describe multiple functions, split the .Nm argumentsAaron Campbell
onto separate lines in the NAME section.
2000-04-30#ifdef vax -> #ifdef __vax__Brandon Creighton
2000-04-20Flesh out stdlib function man pages.Aaron Campbell
2000-04-20- Formatting repairs and standardizations.Aaron Campbell
- s/MESSAGES/DIAGNOSTICS/, and put message descriptions in a nice list. - Talk more about how using malloc() in signal handlers is bad.
2000-04-10missing THREAD_UNLOCK; netch@segfault.kiev.uaTheo de Raadt
2000-04-04Fix the leak for real (that's what I get for hacking when i can't sleep).Todd C. Miller
2000-04-04Fix an fd leak if the read from /dev/arandom fails. Pointed out byTodd C. Miller
Markus Friedl.
2000-04-04MLINK srandomdevTodd C. Miller
2000-04-03Add srandomdev() from FreeBSD for use by sendmail and others.Todd C. Miller
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-03-01typo fix; halogen@nol.netTheo de Raadt
2000-02-25repair prototypes; cky@pobox.comTheo de Raadt
2000-01-25repairTheo de Raadt
2000-01-22Use .Er macro when referring to errno error names.Aaron Campbell
2000-01-19Clarify and mention that errno is set to ENOMEM on failure of malloc(),Paul Janzen
calloc(), and realloc(). Idea from NetBSD.
2000-01-19Max value returned is 2^31 - 1, regardless of the arch-dependent LONG_MAX.Paul Janzen
2000-01-06include thread_private.hDavid Leonard
1999-11-17Add missing MLINKsTodd C. Miller
1999-11-10Tweaks; millert@Aaron Campbell
1999-11-10calloc.c is backTodd C. Miller
1999-11-10calloc() needs to be separate from malloc in case a user wants to haveTodd C. Miller
their own malloc() implementation.
1999-11-09Merge calloc(3) man page into malloc.3; as suggested by millert@Aaron Campbell