summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authormikel <mikel@NetBSD.org>1997-07-15 07:05:31 +0000
committermikel <mikel@NetBSD.org>1997-07-15 07:05:31 +0000
commit53609ce7ee2d33985d237a864495e042e2f8d0ef (patch)
tree4cae064b29d4a79d66060a68ad0e46a7be64a4c7 /lib/libc/stdlib/malloc.3
parent95ca30804fab0188b298830ddbd2e98721fbc7df (diff)
xref getpagesize(3) not obsolete getpagesize(2), sort xrefs
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.314
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index b0768ebcbe1..fb36de0aef5 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: malloc.3,v 1.5 1995/12/28 08:52:25 thorpej Exp $
+.\" $NetBSD: malloc.3,v 1.6 1997/07/15 07:05:31 mikel Exp $
.\"
.\" Copyright (c) 1980, 1991 Regents of the University of California.
.\" All rights reserved.
@@ -71,12 +71,12 @@ a pointer to the allocated space if successful; otherwise
a null pointer is returned.
.Sh SEE ALSO
.Xr brk 2 ,
-.Xr getpagesize 2 ,
-.Xr free 3 ,
-.Xr calloc 3 ,
.Xr alloca 3 ,
-.Xr realloc 3 ,
-.Xr memory 3
+.Xr calloc 3 ,
+.Xr free 3 ,
+.Xr getpagesize 3 ,
+.Xr memory 3 ,
+.Xr realloc 3
.Sh STANDARDS
The
.Fn malloc
@@ -84,7 +84,7 @@ function conforms to
.St -ansiC .
.Sh BUGS
The current implementation of
-.Xr malloc
+.Fn malloc
does not always fail gracefully when system
memory limits are approached.
It may fail to allocate memory when larger free blocks could be broken