Loading...
--- Libc/Libc-583/string/strcspn.3
+++ Libc/Libc-262/string/strcspn.3
@@ -47,29 +47,27 @@
.Sh SYNOPSIS
.In string.h
.Ft size_t
-.Fo strcspn
-.Fa "const char *s1"
-.Fa "const char *s2"
-.Fc
+.Fn strcspn "const char *s" "const char *charset"
.Sh DESCRIPTION
The
.Fn strcspn
function
spans the initial part of the null-terminated string
-.Fa s1 ,
+.Fa s
as long as the characters from
-.Fa s1
+.Fa s
do not occur in string
-.Fa s2
+.Fa charset
(it
spans the
.Em complement
of
-.Fa s2 ) .
+.Fa charset ) .
.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 ,