aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strnlen.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/strnlen.3')
-rw-r--r--man3/strnlen.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/strnlen.3 b/man3/strnlen.3
index de37b32501..a5b50dd70a 100644
--- a/man3/strnlen.3
+++ b/man3/strnlen.3
@@ -8,7 +8,7 @@
.\" References consulted:
.\" GNU glibc-2 source code and manual
.\"
-.TH STRNLEN 3 2011-09-10 "GNU" "Linux Programmer's Manual"
+.TH STRNLEN 3 2011-09-28 "GNU" "Linux Programmer's Manual"
.SH NAME
strnlen \- determine the length of a fixed-size string
.SH SYNOPSIS
@@ -40,7 +40,7 @@ _GNU_SOURCE
The
.BR strnlen ()
function returns the number of characters in the string
-pointed to by \fIs\fP, not including the terminating \(aq\\0\(aq character,
+pointed to by \fIs\fP, excluding the terminating null bye (\(aq\\0\(aq),
but at most \fImaxlen\fP.
In doing this,
.BR strnlen ()
@@ -51,7 +51,7 @@ The
.BR strnlen ()
function returns \fIstrlen(s)\fP, if that is less than
\fImaxlen\fP, or \fImaxlen\fP
-if there is no \(aq\\0\(aq character among the first
+if there is no null byte (\(aq\\0\(aq) among the first
\fImaxlen\fP characters pointed to by \fIs\fP.
.SH "CONFORMING TO"
POSIX.1-2008.