Added a sentence to explain what "span" means.
PR: docs/84850 Submitted by: garys MFC after: 3 days Approved by: keramida
This commit is contained in:
parent
41519e2afc
commit
48a5274239
@ -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
|
||||
|
@ -56,8 +56,15 @@ spans the initial part of the null-terminated string
|
||||
.Fa s
|
||||
as long as the characters from
|
||||
.Fa s
|
||||
occur in string
|
||||
occur in the null-terminated string
|
||||
.Fa charset .
|
||||
In other words, it computes the string array index in
|
||||
.Fa s
|
||||
of the first character of
|
||||
.Fa s
|
||||
which is not in
|
||||
.Fa charset ,
|
||||
else the index of the first null character.
|
||||
.Sh RETURN VALUES
|
||||
The
|
||||
.Fn strspn
|
||||
|
Loading…
x
Reference in New Issue
Block a user