Loading...
--- Libc/Libc-825.26/string/FreeBSD/strspn.3
+++ Libc/Libc-763.13/string/FreeBSD/strspn.3
@@ -43,26 +43,23 @@
.Sh SYNOPSIS
.In string.h
.Ft size_t
-.Fo strspn
-.Fa "const char *s1"
-.Fa "const char *s2"
-.Fc
+.Fn strspn "const char *s" "const char *charset"
.Sh DESCRIPTION
The
.Fn strspn
function
spans the initial part of the null-terminated string
-.Fa s1 ,
+.Fa s
as long as the characters from
-.Fa s1
+.Fa s
occur in the null-terminated string
-.Fa s2 .
+.Fa charset .
In other words, it computes the string array index in
-.Fa s1
+.Fa s
of the first character of
-.Fa s1
+.Fa s
which is not in
-.Fa s2 ,
+.Fa charset ,
else the index of the first null character.
.Sh RETURN VALUES
The