summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/stdlib/malloc.37
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index e5451bb71b..8f05c38e86 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -34,7 +34,7 @@
34.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35.\" SUCH DAMAGE. 35.\" SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: malloc.3,v 1.23 2001/11/05 21:31:21 millert Exp $ 37.\" $OpenBSD: malloc.3,v 1.24 2001/12/05 09:49:39 deraadt Exp $
38.\" 38.\"
39.Dd August 27, 1996 39.Dd August 27, 1996
40.Dt MALLOC 3 40.Dt MALLOC 3
@@ -81,6 +81,11 @@ or larger, the memory returned will be page-aligned.
81Allocation of a zero size object returns a pointer to a zero size object. 81Allocation of a zero size object returns a pointer to a zero size object.
82This zero size object is access protected, so any access to it will 82This zero size object is access protected, so any access to it will
83generate an exception (SIGSEGV). 83generate an exception (SIGSEGV).
84Many zero-sized objects can be placed consecutively in shared
85protected pages.
86The minimum size of the protection on each object is suitably aligned and
87sized as previously stated, but the protection may extend further depending
88on where in a protected zone the object lands.
84.Pp 89.Pp
85The 90The
86.Fn calloc 91.Fn calloc