logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ustrchr - Finds the first occurrence of a character in a string. Allegro game programming library.

Description

       Finds the first occurrence of the character `c' in the string `s'. Example:

          char *p = ustrchr("one,two,three,four", ',');

Name

       ustrchr - Finds the first occurrence of a character in a string. Allegro game programming library.

Return Value

       Returns  a pointer to the first occurrence of `c' in `s', or NULL if no match was found. Note that if `c'
       is NULL, this will return a pointer to the end of the string.

See Also

uconvert(3alleg4), ustrrchr(3alleg4), ustrstr(3alleg4), ustrpbrk(3alleg4), ustrtok(3alleg4)

Allegro                                           version 4.4.3                                 ustrchr(3alleg4)

Synopsis

#include<allegro.h>char*ustrchr(constchar*s,intc);

See Also