ustrpbrk(3) - Linux man page

Name

ustrpbrk - Finds the first character that matches any in a set. Allegro game programming library.

Synopsis

#include <allegro.h>

char *ustrpbrk(const char *s, const char *set);

Description

This function finds the first character in 's' that matches any character in 'set'. Example:
char *p = ustrpbrk("one,two-three.four", "-. ");

Return Value

Returns a pointer to the first match, or NULL if none are found.

See Also

uconvert(3), ustrchr(3), ustrrchr(3), ustrstr(3), ustrtok(3)