summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getbsize.3
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
commit8e555d953d4a7e8702ccb2d29b39ad91d179ce95 (patch)
tree6c0a9ec621640942bf2aabca87382a65abb1cd77 /lib/libc/gen/getbsize.3
parent8dcf2d1387109e43cabbf8b12a6bf3dd3ed2613d (diff)
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.36
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.