summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'double by a factor of two' and make cache options a bit morepedro2006-06-061-4/+4
| | | | descriptive while at it, input and okay jmc@
* Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX andotto2006-04-021-2/+2
| | | | remove redundant check on size. ok millert@ deraadt@
* Add warning about malloc(num * size) and recommend calloc() instead,ray2006-03-261-5/+40
| | | | | | | | or if malloc must be used suggest check. Get rid of "one". OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s.
* missing auxillary verbjakemsr2006-01-181-2/+2
| | | | "yes, that is correct." jmc@ (a while back)
* - typos, punctuation, layout, macro tweaksjaredy2005-07-261-4/+11
| | | | | | - break long lines ok jmc
* no need to insert spacing between list members;jmc2005-06-071-13/+1
|
* adding pointer protection to 'G' was too heavyweight. Since malloc guardtedu2005-06-071-3/+6
| | | | should be generally usable, split this out into option 'P'. ok deraadt
* add a note describing latest guard featuretedu2005-05-241-1/+3
|
* kill dead .Xr to memory(3);jmc2004-07-021-3/+2
| | | | from kjell@
* punctuate variable; okay jmc@.espie2004-02-091-2/+2
|
* H comes before J;jmc2004-02-041-6/+6
|
* 'F'reeguard doc, as reported missing by brad. nit free thanks to jmctedu2004-02-021-1/+8
|
* wording improvements from Brian Poole;jmc2003-11-251-5/+4
| | | | kill a .Pp before a display;
* by popular demand, malloc guard pages. insert an unreadable/unwriteabletedu2003-10-161-1/+7
| | | | | | | | page after each page size allocation to detect overrun. this is somewhat electric fence like, while attempting to be mostly usable in production. also, use tdeval's chunk randomization code. enabled with the G option. ok deraadt and co.
* It is safe to pass free() a NULL pointer since C89; update example tomillert2003-09-261-3/+2
| | | | this effect. OK deraadt@ pvalchev@
* improve example even morederaadt2003-09-251-3/+4
|
* expand on the realloc no-no section to include adjusting a length beforetedu2003-09-181-6/+12
| | | | the allocation. ok deraadt@ markus@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* - section reorderjmc2003-06-011-8/+8
| | | | | - merge COMPATIBILITY - kill whitespace at EOL
* Delete reference to /usr/share/doc/papers/malloc.ascii.gz as we do notkrw2003-05-141-2/+1
| | | | | | have it. We don't even have the directory /usr/share/doc/papers. ok millert@.
* typos;jmc2003-01-211-3/+3
| | | | 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.
* Grammar. Thanks markus@tdeval2001-10-301-2/+2
|
* mprotect allocations sized at 0 bytes. This will cause a fault for accesstdeval2001-10-301-1/+3
| | | | | to such, permitting them to be discovered, instead of exploited as the ssh crc insertion detector was. Idea by theo, written by tdeval.
* Clarify; gluk@ptci.ruaaron2000-10-251-2/+2
|
* - 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.
* Clarify and mention that errno is set to ENOMEM on failure of malloc(),pjanzen2000-01-191-5/+11
| | | | calloc(), and realloc(). Idea from NetBSD.
* Tweaks; millert@aaron1999-11-101-8/+9
|
* Merge calloc(3) man page into malloc.3; as suggested by millert@aaron1999-11-091-18/+39
|
* first round of repairs on stdlibaaron1999-06-291-13/+14
|
* more missing .El macros filled inaaron1999-05-271-11/+12
|
* remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonaaron1999-05-231-2/+2
| | | | is used instead; kwesterback@home.com
* correct some Xr's which referred to the wrong man page sectionsaaron1999-05-101-4/+4
|
* Clarify realloc return valuemillert1999-03-231-3/+4
|
* add MLINK for malloc.conf.5 man page, also add FILES section to malloc.3; fries@aaron1998-11-171-1/+5
|
* document the common misuse of reallocderaadt1998-08-151-2/+26
|
* use Xr more oftenderaadt1998-04-281-2/+4
|
* Change realloc(foo,0) to behave like malloc(0). Both now return a pointerpefo1997-08-231-4/+7
| | | | | to an object of size zero. This will allow testing on reallocs return value to determine if the operation was successful or not.
* Make it possible to not output warnings (errors causing aborts are alwaystholo1997-05-311-1/+5
| | | | output).
* Add x/X option to behave like X11 xmalloc; from FreeBSDtholo1997-05-311-1/+13
| | | | Reduce diffs wrt. FreeBSD some
* Latest changes from FreeBSDtholo1996-09-261-8/+110
|
* Document it.downsj1996-08-211-2/+12
|
* Import malloc(3) manual page from FreeBSDtholo1996-08-101-18/+120
|
* initial import of NetBSD treederaadt1995-10-181-0/+91