summaryrefslogtreecommitdiffstats
path: root/man3const/NULL.3const
diff options
context:
space:
mode:
Diffstat (limited to 'man3const/NULL.3const')
-rw-r--r--man3const/NULL.3const8
1 files changed, 4 insertions, 4 deletions
diff --git a/man3const/NULL.3const b/man3const/NULL.3const
index e395628a9..19e7e957b 100644
--- a/man3const/NULL.3const
+++ b/man3const/NULL.3const
@@ -55,20 +55,20 @@ Instead, always use
shouldn't be confused with
.BR NUL ,
which is an
-.BR ascii (7)
+.MR ascii 7
character,
represented in C as
.BR \[aq]\e0\[aq] .
.SH BUGS
When it is necessary to set a pointer variable to a null pointer,
it is not enough to use
-.BR memset (3)
+.MR memset 3
to zero the pointer
(this is usually done when zeroing a struct that contains pointers),
since ISO C and POSIX don't guarantee that a bit pattern of all 0s
represent a null pointer.
See the EXAMPLES section in
-.BR getaddrinfo (3)
+.MR getaddrinfo 3
for an example program that does this correctly.
.SH SEE ALSO
-.BR void (3type)
+.MR void 3type