Scroll to navigation

ustrpbrk(3alleg4) Allegro manual ustrpbrk(3alleg4)

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(3alleg4), ustrchr(3alleg4), ustrrchr(3alleg4), ustrstr(3alleg4), ustrtok(3alleg4)
version 4.4.2 Allegro