summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorabhinav <abhinav@NetBSD.org>2017-04-26 07:40:09 +0000
committerabhinav <abhinav@NetBSD.org>2017-04-26 07:40:09 +0000
commit2e01761d6483347f5276f32a5bcab360cbd841fb (patch)
tree152c0af72e5a36c6388474bd6d32b419422a9202 /lib/libc/stdlib
parentcc6c8af9eac694452cc8362c4157bd06b7b9024d (diff)
Clean up the NAME section.
The entries in the NAME section of these man pages have man pages of their own, so it doesn't make sense to have their names here, instead they should be just described in the body (similar to what we do in math(3) man page). This also helps whatis(1) and apropos(1), as otherwise you would see multiple results with the same name in the output, while there is actually only one page with that name. Good example is: $ apropos -n 2 -M realloc realloc (3) general memory allocation operations realloc (3) general purpose memory allocation functions The first line is there because memory(3) man page had realloc in its NAME section. This commit will fix this issue. ok wiz@
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/memory.310
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/stdlib/memory.3 b/lib/libc/stdlib/memory.3
index 5630730603e..6757eff8893 100644
--- a/lib/libc/stdlib/memory.3
+++ b/lib/libc/stdlib/memory.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: memory.3,v 1.11 2011/09/11 10:05:23 jruoho Exp $
+.\" $NetBSD: memory.3,v 1.12 2017/04/26 07:40:09 abhinav Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,15 +29,11 @@
.\"
.\" from: @(#)memory.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd September 11, 2011
+.Dd April 26, 2017
.Dt MEMORY 3
.Os
.Sh NAME
-.Nm malloc ,
-.Nm free ,
-.Nm realloc ,
-.Nm calloc ,
-.Nm alloca
+.Nm memory
.Nd general memory allocation operations
.Sh LIBRARY
.Lb libc