diff options
| author | jasper <> | 2011-07-21 20:34:32 +0000 |
|---|---|---|
| committer | jasper <> | 2011-07-21 20:34:32 +0000 |
| commit | 73e3c85be6d80d28a93bd4dcba3ec44c99d50376 (patch) | |
| tree | 0330a6cdce43a319b359240f465cd8e0a2c3ee4c /src/lib/libc/stdlib | |
| parent | ef42ab636394ad0b2b74b6985c53d6414a2f3b21 (diff) | |
| download | openbsd-73e3c85be6d80d28a93bd4dcba3ec44c99d50376.tar.gz openbsd-73e3c85be6d80d28a93bd4dcba3ec44c99d50376.tar.bz2 openbsd-73e3c85be6d80d28a93bd4dcba3ec44c99d50376.zip | |
- add a MALLOC_OPTIONS section header. the content is already there, but having
a section will help people looking for just the MALLOC_OPTIONS.
ok otto@ jmc@
Diffstat (limited to 'src/lib/libc/stdlib')
| -rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index e8df26c61f..6b6e4f582e 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
| @@ -30,9 +30,9 @@ | |||
| 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 31 | .\" SUCH DAMAGE. | 31 | .\" SUCH DAMAGE. |
| 32 | .\" | 32 | .\" |
| 33 | .\" $OpenBSD: malloc.3,v 1.68 2010/05/26 08:22:11 jmc Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.69 2011/07/21 20:34:32 jasper Exp $ |
| 34 | .\" | 34 | .\" |
| 35 | .Dd $Mdocdate: May 26 2010 $ | 35 | .Dd $Mdocdate: July 21 2011 $ |
| 36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
| 37 | .Os | 37 | .Os |
| 38 | .Sh NAME | 38 | .Sh NAME |
| @@ -202,7 +202,7 @@ i.e. avoid allocations like the following: | |||
| 202 | if ((newp = realloc(p, num * size)) == NULL) { | 202 | if ((newp = realloc(p, num * size)) == NULL) { |
| 203 | ... | 203 | ... |
| 204 | .Ed | 204 | .Ed |
| 205 | .Pp | 205 | .Sh MALLOC_OPTIONS |
| 206 | Malloc will first look for a symbolic link called | 206 | Malloc will first look for a symbolic link called |
| 207 | .Pa /etc/malloc.conf | 207 | .Pa /etc/malloc.conf |
| 208 | and next check the environment for a variable called | 208 | and next check the environment for a variable called |
