COHERENT manpages

This page displays the COHERENT manpage for strcspn() [Return length a string excludes characters in another].

List of available manpages
Index


strcspn() -- String Function (libc)

Return length a string excludes characters in another
#include <string.h>
unsigned int strcspn(string1, string2)
char *string1, *string2;

strcspn() compares  string1 with  string2. It  then returns the  length, in
characters, for which string1 consists of characters not found in string2.

See Also

libc,
string.h
ANSI Standard, §7.11.5.3
POSIX Standard, §8.1