.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" Chris Torek and the American National Standards Committee X3,
.\" on Information Processing Systems.
.\" %sccs.include.redist.man%
.\" @(#)strcspn.3 5.3 (Berkeley) %G%
.Nd span the complement of a string
.Fn strcspn "const char *s" "const char *charset"
spans the initial part of the null-terminated string
as long as the characters from
returns the number of characters spanned.