* Copyright (c) 1989 The Regents of the University of California.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)strspn.c 5.7 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
* Span the string s2 (skip characters that are in s2).
register const char *p
= s1
, *spanp
;
* Skip any characters in s2, excluding the terminating \0.
for (spanp
= s2
; (sc
= *spanp
++) != 0;)