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/gen/getbsize.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/gen/getbsize.3')
-rw-r--r-- | lib/libc/gen/getbsize.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/getbsize.3 b/lib/libc/gen/getbsize.3 index 876b1b53df2..0d8857128f7 100644 --- a/lib/libc/gen/getbsize.3 +++ b/lib/libc/gen/getbsize.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getbsize.3,v 1.7 2003/06/02 20:18:34 millert Exp $ +.\" $OpenBSD: getbsize.3,v 1.8 2005/02/25 03:12:43 cloder Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -48,14 +48,14 @@ for details on its use and format. .Pp The .Fn getbsize -function returns a pointer to a null-terminated +function returns a pointer to a NUL-terminated string describing the block size, something like .Qq 1K-blocks . The memory referenced by .Fa headerlenp is filled in with the length of the string (not including the -terminating null byte). +terminating NUL byte). The memory referenced by .Fa blocksizep is filled in with the block size, in bytes. |