]> git.saurik.com Git - apple/libc.git/blobdiff - string/strcspn.3
Libc-498.1.1.tar.gz
[apple/libc.git] / string / strcspn.3
index c105c12064a25ee350784fddc7de3bf4f80a76dd..7d17774f4f9806e53daacb55fcfc587ad6f29321 100644 (file)
 .Sh SYNOPSIS
 .In string.h
 .Ft size_t
-.Fn strcspn "const char *s" "const char *charset"
+.Fo strcspn
+.Fa "const char *s1"
+.Fa "const char *s2"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn strcspn
 function
 spans the initial part of the null-terminated string
-.Fa s
+.Fa s1 ,
 as long as the characters from
-.Fa s
+.Fa s1
 do not occur in string
-.Fa charset
+.Fa s2
 (it
 spans the
 .Em complement
 of
-.Fa charset ) .
+.Fa s2 ) .
 .Sh RETURN VALUES
 The
 .Fn strcspn
-function
-returns the number of characters spanned.
+function returns the number of characters spanned.
 .Sh SEE ALSO
 .Xr memchr 3 ,
 .Xr strchr 3 ,