diff options
Diffstat (limited to 'src/lib/libc/string/strcspn.3')
-rw-r--r-- | src/lib/libc/string/strcspn.3 | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/libc/string/strcspn.3 b/src/lib/libc/string/strcspn.3 index 6f7233a3e4..37e8f163f1 100644 --- a/src/lib/libc/string/strcspn.3 +++ b/src/lib/libc/string/strcspn.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: strcspn.3,v 1.4 1999/09/21 16:44:01 espie Exp $ | 36 | .\" $OpenBSD: strcspn.3,v 1.5 2000/04/21 15:24:20 aaron Exp $ |
37 | .\" | 37 | .\" |
38 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
39 | .Dt STRCSPN 3 | 39 | .Dt STRCSPN 3 |
@@ -48,23 +48,20 @@ | |||
48 | .Sh DESCRIPTION | 48 | .Sh DESCRIPTION |
49 | The | 49 | The |
50 | .Fn strcspn | 50 | .Fn strcspn |
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 |
56 | do not occur in string | 55 | do not occur in string |
57 | .Fa charset | 56 | .Fa charset |
58 | (it | 57 | (it spans the |
59 | spans the | ||
60 | .Em complement | 58 | .Em complement |
61 | of | 59 | of |
62 | .Fa charset ) . | 60 | .Fa charset ) . |
63 | .Sh RETURN VALUES | 61 | .Sh RETURN VALUES |
64 | The | 62 | The |
65 | .Fn strcspn | 63 | .Fn strcspn |
66 | function | 64 | function returns the number of characters spanned. |
67 | returns the number of characters spanned. | ||
68 | .Sh EXAMPLES | 65 | .Sh EXAMPLES |
69 | The following call to | 66 | The following call to |
70 | .Fn strcspn | 67 | .Fn strcspn |
@@ -91,6 +88,5 @@ span = strcspn(s, charset); | |||
91 | .Sh STANDARDS | 88 | .Sh STANDARDS |
92 | The | 89 | The |
93 | .Fn strcspn | 90 | .Fn strcspn |
94 | function | 91 | function conforms to |
95 | conforms to | ||
96 | .St -ansiC . | 92 | .St -ansiC . |