diff options
author | 2005-02-25 03:12:43 +0000 | |
---|---|---|
committer | 2005-02-25 03:12:43 +0000 | |
commit | 1e5ede29f718fe4f17c128f8fde29ac3824349f1 (patch) | |
tree | fd6e65cd34239687cd19bb98f99ffdf5a9155023 /lib/libc/string/strdup.3 | |
parent | Fix an obviously incorrect call to memset. '0' and 0 are not the same (diff) | |
download | wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.tar.xz wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.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 'lib/libc/string/strdup.3')
-rw-r--r-- | lib/libc/string/strdup.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3 index 59b77f7a16d..a434312c425 100644 --- a/lib/libc/string/strdup.3 +++ b/lib/libc/string/strdup.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strdup.3,v 1.12 2003/06/02 20:18:38 millert Exp $ +.\" $OpenBSD: strdup.3,v 1.13 2005/02/25 03:12:44 cloder Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -54,7 +54,7 @@ is returned. .Sh EXAMPLES The following will point .Va p -to an allocated area of memory containing the null-terminated string +to an allocated area of memory containing the NUL-terminated string .Qq foobar : .Bd -literal -offset indent char *p; |