From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/strspn.htm | 103 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 reference/C/MAN/strspn.htm (limited to 'reference/C/MAN/strspn.htm') diff --git a/reference/C/MAN/strspn.htm b/reference/C/MAN/strspn.htm new file mode 100644 index 0000000..3eacb54 --- /dev/null +++ b/reference/C/MAN/strspn.htm @@ -0,0 +1,103 @@ +strspn + +
+
+
+
+
+

STRSPN(3) Linux Programmer's Manual STRSPN(3) +

+ +

NAME +

strspn, strcspn - search a string for a set of characters + +

SYNOPSIS +

#include <string.h> + + size_t strspn(const char *s, const char *accept); + + size_t strcspn(const char *s, const char *reject); + +

DESCRIPTION +

The strspn() function calculates the length of the initial + segment of s which consists entirely of characters in + accept. + + The strcspn() function calculates the length of the ini- + tial segment of s which consists entirely of characters + not in reject. + +

RETURN VALUE +

The strspn() function returns the number of characters in + the initial segment of s which consist only of characters + from accept. + + The strcspn() function returns the number of characters in + the initial segment of s which are not in the string + reject. + +

CONFORMING TO +

SVID 3, POSIX, BSD 4.3, ISO 9899 + +
+
+

SEE ALSO +

+index, +memchr, +rindex, +strchr, +strpbrk, +strsep, +strstr, +strtok, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+                          April 12, 1993                        1
+
+
+
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf