summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strspn.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strspn.3')
-rw-r--r--src/lib/libc/string/strspn.311
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
49The 49The
50.Fn strspn 50.Fn strspn
51function 51function spans the initial part of the null-terminated string
52spans the initial part of the null-terminated string
53.Fa s 52.Fa s
54as long as the characters from 53as 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
59The 58The
60.Fn strspn 59.Fn strspn
61function 60function returns the number of characters spanned.
62returns the number of characters spanned.
63.Sh EXAMPLES 61.Sh EXAMPLES
64The following call to 62The following call to
65.Fn strspn 63.Fn strspn
@@ -86,6 +84,5 @@ span = strspn(s, charset);
86.Sh STANDARDS 84.Sh STANDARDS
87The 85The
88.Fn strspn 86.Fn strspn
89function 87function conforms to
90conforms to
91.St -ansiC . 88.St -ansiC .