diff options
Diffstat (limited to 'man3/strnlen.3')
-rw-r--r-- | man3/strnlen.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/strnlen.3 b/man3/strnlen.3 index 5a3cea3d9..cf0aba31b 100644 --- a/man3/strnlen.3 +++ b/man3/strnlen.3 @@ -10,7 +10,7 @@ .\" References consulted: .\" GNU glibc-2 source code and manual .\" -.TH STRNLEN 3 2019-03-06 "GNU" "Linux Programmer's Manual" +.TH STRNLEN 3 2020-12-21 "GNU" "Linux Programmer's Manual" .SH NAME strnlen \- determine the length of a fixed-size string .SH SYNOPSIS @@ -54,7 +54,7 @@ looks only at the first characters in the string pointed to by .I s and never beyond -.IR s+maxlen . +.IR s[maxlen\-1] . .SH RETURN VALUE The .BR strnlen () @@ -85,7 +85,7 @@ POSIX.1-2008. .SH SEE ALSO .BR strlen (3) .SH COLOPHON -This page is part of release 5.09 of the Linux +This page is part of release 5.10 of the Linux .I man-pages project. A description of the project, |