summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcspn.3
diff options
context:
space:
mode:
authorGary W. Swearingen <garys@FreeBSD.org>2005-09-07 16:41:51 +0000
committerGary W. Swearingen <garys@FreeBSD.org>2005-09-07 16:41:51 +0000
commit7adcfc967dc3ddbdcede4d2267f535c3afc4c216 (patch)
tree28e9eefe908a1ac33c672485c442bcc4fcf24eeb /lib/libc/string/strcspn.3
parente7fe45634cdbf8cd794c6d597908dea6f3c58464 (diff)
Notes
Diffstat (limited to 'lib/libc/string/strcspn.3')
-rw-r--r--lib/libc/string/strcspn.37
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/string/strcspn.3 b/lib/libc/string/strcspn.3
index 2dfda10c45cc9..ef905a5c332b3 100644
--- a/lib/libc/string/strcspn.3
+++ b/lib/libc/string/strcspn.3
@@ -63,6 +63,13 @@ spans the
.Em complement
of
.Fa charset ) .
+In other words, it computes the string array index in
+.Fa s
+of the first character of
+.Fa s
+which is also in
+.Fa charset ,
+else the index of the first null character.
.Sh RETURN VALUES
The
.Fn strcspn