diff options
Diffstat (limited to 'src/lib/libc/string/strspn.3')
-rw-r--r-- | src/lib/libc/string/strspn.3 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/libc/string/strspn.3 b/src/lib/libc/string/strspn.3 index 8274a06b65..ca965aeb18 100644 --- a/src/lib/libc/string/strspn.3 +++ b/src/lib/libc/string/strspn.3 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: strspn.3,v 1.5 1999/09/21 16:44:01 espie Exp $ | 36 | .\" $OpenBSD: strspn.3,v 1.6 2000/04/21 15:24:20 aaron Exp $ |
37 | .\" | 37 | .\" |
38 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
39 | .Dt STRSPN 3 | 39 | .Dt STRSPN 3 |
@@ -48,8 +48,7 @@ | |||
48 | .Sh DESCRIPTION | 48 | .Sh DESCRIPTION |
49 | The | 49 | The |
50 | .Fn strspn | 50 | .Fn strspn |
51 | function | 51 | function spans the initial part of the null-terminated string |
52 | spans the initial part of the null-terminated string | ||
53 | .Fa s | 52 | .Fa s |
54 | as long as the characters from | 53 | as long as the characters from |
55 | .Fa s | 54 | .Fa s |
@@ -58,8 +57,7 @@ occur in string | |||
58 | .Sh RETURN VALUES | 57 | .Sh RETURN VALUES |
59 | The | 58 | The |
60 | .Fn strspn | 59 | .Fn strspn |
61 | function | 60 | function returns the number of characters spanned. |
62 | returns the number of characters spanned. | ||
63 | .Sh EXAMPLES | 61 | .Sh EXAMPLES |
64 | The following call to | 62 | The following call to |
65 | .Fn strspn | 63 | .Fn strspn |
@@ -86,6 +84,5 @@ span = strspn(s, charset); | |||
86 | .Sh STANDARDS | 84 | .Sh STANDARDS |
87 | The | 85 | The |
88 | .Fn strspn | 86 | .Fn strspn |
89 | function | 87 | function conforms to |
90 | conforms to | ||
91 | .St -ansiC . | 88 | .St -ansiC . |