summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcspn.3
diff options
context:
space:
mode:
authoraaron <>2000-04-21 15:24:20 +0000
committeraaron <>2000-04-21 15:24:20 +0000
commit9fb35611cc3d03bef8b690b62e0904507c414a61 (patch)
treecbb158a96fec3a91f1d59c3e9f768b10d6ed872e /src/lib/libc/string/strcspn.3
parenta4336f357f9e30dffdfad4909b24bd2e82c096a2 (diff)
downloadopenbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.tar.gz
openbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.tar.bz2
openbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.zip
Flesh out libc string function man pages.
Diffstat (limited to 'src/lib/libc/string/strcspn.3')
-rw-r--r--src/lib/libc/string/strcspn.314
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
49The 49The
50.Fn strcspn 50.Fn strcspn
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
56do not occur in string 55do not occur in string
57.Fa charset 56.Fa charset
58(it 57(it spans the
59spans the
60.Em complement 58.Em complement
61of 59of
62.Fa charset ) . 60.Fa charset ) .
63.Sh RETURN VALUES 61.Sh RETURN VALUES
64The 62The
65.Fn strcspn 63.Fn strcspn
66function 64function returns the number of characters spanned.
67returns the number of characters spanned.
68.Sh EXAMPLES 65.Sh EXAMPLES
69The following call to 66The following call to
70.Fn strcspn 67.Fn strcspn
@@ -91,6 +88,5 @@ span = strcspn(s, charset);
91.Sh STANDARDS 88.Sh STANDARDS
92The 89The
93.Fn strcspn 90.Fn strcspn
94function 91function conforms to
95conforms to
96.St -ansiC . 92.St -ansiC .