summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/lcong48.c
diff options
context:
space:
mode:
authordoug <>2014-10-19 17:58:14 +0000
committerdoug <>2014-10-19 17:58:14 +0000
commit4df28d31f8d900d5d1d164c0c75e270e82e11e81 (patch)
treea4649fb344da28a3c612e514e4c96cbb473efdeb /src/lib/libc/stdlib/lcong48.c
parent166117897f0e1f5aef7866f9e8eb9672a27313ab (diff)
downloadopenbsd-4df28d31f8d900d5d1d164c0c75e270e82e11e81.tar.gz
openbsd-4df28d31f8d900d5d1d164c0c75e270e82e11e81.tar.bz2
openbsd-4df28d31f8d900d5d1d164c0c75e270e82e11e81.zip
Revamp malloc.3 by reordering the sections and rewriting parts.
The old man page had a lot of useful information, but it was all mixed together which made it difficult to reference. The main theme in this commit is that the sections are more focused: * DESCRIPTION describes the overall behavior * RETURN VALUES describes what it may return (including implementation defined values) * EXAMPLES shows why we recently started an audit on malloc and realloc usage in the tree. * Added CAVEATS which describes what is implementation defined, gotchas and security implications of misusing these functions * Added IDIOMS which describes how these functions should or should not be used The MALLOC_OPTIONS section was left unchanged. Function names were added to DIAGNOSTICS and STANDARDS. The MALLOC_OPTIONS and DIAGNOSTICS sections were pushed down in the page so more pertinent information is higher up. This has gone through several revisions thanks to input from deraadt@ and schwarze@. Ingo also helped with some of the mandoc formatting. OK schwarze@ (as far as it is a good starting point and the code snippets look ok)
Diffstat (limited to 'src/lib/libc/stdlib/lcong48.c')
0 files changed, 0 insertions, 0 deletions