summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MFC (deraadt):miod2002-07-311-2/+2
| | | | permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing
* MFC (deraadt):miod2002-07-301-1/+7
| | | | | return failure if integer overflow happens. sigh; too people had to help get this right.
* Initial idea from aaron@: Last char of .Xr group in SEE ALSO section shouldmpech2001-09-061-2/+2
| | | | | | be a single digit. Powered by mantoya@. millert@ ok.
* Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵millert2001-09-041-6/+8
| | | | POSIX counterparts.
* #(endif|else) foo is incorrect, make it #endif /* foo */heko2001-08-121-5/+5
| | | | deraadt@ ok
* o) We always close .Bl and .Bd tags;mpech2001-08-062-4/+3
| | | | | | | | | | 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
* clean up.mpech2001-07-271-2/+2
| | | | millert@ ok
* a first pass at -Wallderaadt2001-07-092-9/+10
|
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-3/+2
|
* remove confusing comparison with srand (it does not return the old seed)assar2001-06-091-11/+3
| | | | use .Sh AUTHORS and .An for author
* unsigned -> unsigned int; grange@rt.mipt.rumillert2001-05-131-2/+2
|
* -1 -> MAP_FAILEDart2001-05-111-3/+3
|
* Use madvise(MADV_FREE) to allow the 'h' option.art2001-05-101-4/+4
| | | | (the code was already there, just not enabled).
* Various man page fixes and improvements from gluk@aaron2001-04-231-4/+4
|
* document that exit() -> wait() only returns low bitsderaadt2001-03-081-1/+11
|
* Various repairs, mostly to get rid of short lines.aaron2000-12-241-3/+2
|
* .Sh EXAMPLE -> .Sh EXAMPLES. Even if there's only one example, at leastaaron2000-12-151-2/+2
| | | | this is consistent.
* .Sh EXAMPLE -> .Sh EXAMPLES. Move this section before SEE ALSO where itaaron2000-12-151-28/+28
| | | | belongs. Closes PR/1554 from bk@rt.fm.
* Clarify; gluk@ptci.ruaaron2000-10-251-2/+2
|
* Add a CAVEATS section to warn programmers that shell meta-characters willaaron2000-10-061-1/+9
| | | | be passed to the command interpreter.
* For man pages that describe multiple functions, split the .Nm argumentsaaron2000-08-094-8/+15
| | | | onto separate lines in the NAME section.
* #ifdef vax -> #ifdef __vax__bjc2000-04-301-2/+2
|
* Flesh out stdlib function man pages.aaron2000-04-2028-246/+195
|
* - Formatting repairs and standardizations.aaron2000-04-201-77/+104
| | | | | - s/MESSAGES/DIAGNOSTICS/, and put message descriptions in a nice list. - Talk more about how using malloc() in signal handlers is bad.
* missing THREAD_UNLOCK; netch@segfault.kiev.uaderaadt2000-04-101-1/+2
|
* Fix the leak for real (that's what I get for hacking when i can't sleep).millert2000-04-041-5/+7
|
* Fix an fd leak if the read from /dev/arandom fails. Pointed out bymillert2000-04-041-5/+5
| | | | Markus Friedl.
* MLINK srandomdevmillert2000-04-041-1/+2
|
* Add srandomdev() from FreeBSD for use by sendmail and others.millert2000-04-032-3/+69
|
* In Unix land we prefer "whitespace" to "white space" or "white-space". Ataaron2000-03-044-8/+8
| | | | least, this is the impression I get from looking at a lot of Perl docs.
* typo fix; halogen@nol.netderaadt2000-03-011-2/+2
|
* repair prototypes; cky@pobox.comderaadt2000-02-251-5/+5
|
* repairderaadt2000-01-251-2/+2
|
* Use .Er macro when referring to errno error names.aaron2000-01-221-3/+3
|
* Clarify and mention that errno is set to ENOMEM on failure of malloc(),pjanzen2000-01-191-5/+11
| | | | calloc(), and realloc(). Idea from NetBSD.
* Max value returned is 2^31 - 1, regardless of the arch-dependent LONG_MAX.pjanzen2000-01-191-7/+1
|
* include thread_private.hd2000-01-061-1/+2
|
* Add missing MLINKsmillert1999-11-171-1/+2
|
* Tweaks; millert@aaron1999-11-101-8/+9
|
* calloc.c is backmillert1999-11-101-1/+1
|
* calloc() needs to be separate from malloc in case a user wants to havemillert1999-11-102-25/+54
| | | | their own malloc() implementation.
* Merge calloc(3) man page into malloc.3; as suggested by millert@aaron1999-11-093-90/+41
|
* Move calloc() into malloc.c and only zero out the area if malloc()millert1999-11-093-55/+26
| | | | | | didn't do so for us. By default, malloc() zeros out the space it allocates but the programmer cannot rely on this as it is implementation- specific (and configurable via /etc/malloc.conf)
* Formatting and grammar.aaron1999-09-271-2/+2
|
* use writev() where possiblederaadt1999-09-161-12/+29
|
* Supply examples and discuss limitations.pjanzen1999-09-142-7/+120
|
* use stronger language when pointing people at strtol()deraadt1999-09-131-1/+12
|
* typoespie1999-09-071-2/+2
|
* succesful -> successfulaaron1999-09-061-2/+2
|
* better english; deraadt@/millert@aaron1999-07-202-6/+6
|