summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strdup.3
diff options
context:
space:
mode:
authorcloder <>2005-02-25 03:12:44 +0000
committercloder <>2005-02-25 03:12:44 +0000
commit67e61f91527f9a7cd6b9a16b0cd90dd56607d505 (patch)
treed9de936ffc7fa9289c7b7f61b1db414900ba94fa /src/lib/libc/string/strdup.3
parent52fef3b7d084fa9e2d0ac9187917b0ede8d9d58d (diff)
downloadopenbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.tar.gz
openbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.tar.bz2
openbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.zip
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
Diffstat (limited to 'src/lib/libc/string/strdup.3')
-rw-r--r--src/lib/libc/string/strdup.34
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/strdup.3 b/src/lib/libc/string/strdup.3
index 59b77f7a16..a434312c42 100644
--- a/src/lib/libc/string/strdup.3
+++ b/src/lib/libc/string/strdup.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: strdup.3,v 1.12 2003/06/02 20:18:38 millert Exp $ 1.\" $OpenBSD: strdup.3,v 1.13 2005/02/25 03:12:44 cloder Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991, 1993 3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -54,7 +54,7 @@ is returned.
54.Sh EXAMPLES 54.Sh EXAMPLES
55The following will point 55The following will point
56.Va p 56.Va p
57to an allocated area of memory containing the null-terminated string 57to an allocated area of memory containing the NUL-terminated string
58.Qq foobar : 58.Qq foobar :
59.Bd -literal -offset indent 59.Bd -literal -offset indent
60char *p; 60char *p;