X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/1f2f436a38f7ae2d39a943ad2898d8fed4ed2e58..5f1254882f242514d4ceaf1ecebb140dcc2a511d:/string/FreeBSD/strspn.3?ds=sidebyside diff --git a/string/FreeBSD/strspn.3 b/string/FreeBSD/strspn.3 index a976bf9..fcd199c 100644 --- a/string/FreeBSD/strspn.3 +++ b/string/FreeBSD/strspn.3 @@ -43,23 +43,26 @@ .Sh SYNOPSIS .In string.h .Ft size_t -.Fn strspn "const char *s" "const char *charset" +.Fo strspn +.Fa "const char *s1" +.Fa "const char *s2" +.Fc .Sh DESCRIPTION The .Fn strspn function spans the initial part of the null-terminated string -.Fa s +.Fa s1 , as long as the characters from -.Fa s +.Fa s1 occur in the null-terminated string -.Fa charset . +.Fa s2 . In other words, it computes the string array index in -.Fa s +.Fa s1 of the first character of -.Fa s +.Fa s1 which is not in -.Fa charset , +.Fa s2 , else the index of the first null character. .Sh RETURN VALUES The