summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* deraadt@ objects to the caveat remark, so remove it.miod2002-02-231-11/+1
|
* Slightly improve wording and punctuation.miod2002-02-231-4/+4
|
* Add a caveat section pointing out that people affecting the return valuemiod2002-02-231-5/+13
| | | | | | | | of getopt() to char variables instead of int lose on arches where char is unsigned by default. Clean the example by not pasting parts of <unistd.h> into it, and by not using atoi(3).
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-192-10/+3
|
* Manual cleanup of remaining userland __P use (excluding packages maintained ↵millert2002-02-173-8/+8
| | | | outside the tree)
* Part one of userland __P removal. Done with a simple regexp with some minor ↵millert2002-02-169-22/+22
| | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
* THREAD_UNLOCK() on error before returning; millert@ ok.fgsch2002-01-231-1/+3
|
* If the user passes in "" as the string to resolve the lstat() willmillert2002-01-121-2/+6
| | | | | | 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.
* Two functions can return errors here, not just one.miod2001-12-291-2/+4
|
* alloca cannot check if the allocation is valid. mention the consequences; ↵deraadt2001-12-061-1/+13
| | | | millert ok
* correct an alignment mis-conception for malloc(0) returned regions.tdeval2001-12-051-14/+25
| | | | OK deraadt@
* document how malloc(0) blobbies are stored, and their characterderaadt2001-12-051-1/+6
|
* Comment out info on U (utrace) malloc option since we don't support itmillert2001-11-051-8/+8
| | | | on OpenBSD.
* remove dangling spaces and tabsmickey2001-11-011-16/+16
|
* Grammar. Thanks markus@tdeval2001-10-301-2/+2
|
* mprotect allocations sized at 0 bytes. This will cause a fault for accesstdeval2001-10-302-37/+50
| | | | | to such, permitting them to be discovered, instead of exploited as the ssh crc insertion detector was. Idea by theo, written by tdeval.
* fix docs; tedu@heorot.stanford.eduderaadt2001-10-291-7/+3
|
* 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.