diff options
author | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
commit | ed72feddcb3cc58c18aff36f4227af3fb11facad (patch) | |
tree | 13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/stdlib/malloc.3 | |
parent | 10aca679734b6819f63019fd7c2ba4e54357c677 (diff) | |
download | FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.zip FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.tar.gz |
Sort sections.
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r-- | lib/libc/stdlib/malloc.3 | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index d2916da..8974f7c 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -262,29 +262,6 @@ and options are intended for testing and debugging. An application which changes its behavior when these options are used is flawed. -.Sh EXAMPLES -To set a systemwide reduction of cache size, and to dump core whenever -a problem occurs: -.Pp -.Bd -literal -offset indent -ln -s 'A<' /etc/malloc.conf -.Ed -.Pp -To specify in the source that a program does no return value checking -on calls to these functions: -.Bd -literal -offset indent -_malloc_options = "X"; -.Ed -.Sh ENVIRONMENT -The following environment variables affect the execution of the allocation -functions: -.Bl -tag -width ".Ev MALLOC_OPTIONS" -.It Ev MALLOC_OPTIONS -If the environment variable -.Ev MALLOC_OPTIONS -is set, the characters it contains will be interpreted as flags to the -allocation functions. -.El .Sh RETURN VALUES The .Fn malloc @@ -464,6 +441,29 @@ Even with the .Dq A option set, this warning is still only a warning. .El +.Sh ENVIRONMENT +The following environment variables affect the execution of the allocation +functions: +.Bl -tag -width ".Ev MALLOC_OPTIONS" +.It Ev MALLOC_OPTIONS +If the environment variable +.Ev MALLOC_OPTIONS +is set, the characters it contains will be interpreted as flags to the +allocation functions. +.El +.Sh EXAMPLES +To set a systemwide reduction of cache size, and to dump core whenever +a problem occurs: +.Pp +.Bd -literal -offset indent +ln -s 'A<' /etc/malloc.conf +.Ed +.Pp +To specify in the source that a program does no return value checking +on calls to these functions: +.Bd -literal -offset indent +_malloc_options = "X"; +.Ed .Sh SEE ALSO .Xr brk 2 , .Xr mmap 2 , |