summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcspn.3
diff options
context:
space:
mode:
authorGary W. Swearingen <garys@FreeBSD.org>2005-08-29 20:41:58 +0000
committerGary W. Swearingen <garys@FreeBSD.org>2005-08-29 20:41:58 +0000
commit669fe42db9293e5511df250de61da965125fc4bd (patch)
tree8a6f30741aa20f85b91841a1c52b8d6682b0be37 /lib/libc/string/strcspn.3
parent4da84431331cb15136cc18f8fd2eead8c93f4a1b (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 2dfda10c45cc..ef905a5c332b 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