ustrrchr(3) Allegro manual ustrrchr(3)NAMEustrrchr - Finds the last occurrence of a character in a string. Alle‐
gro game programming library.
SYNOPSIS
#include <allegro.h>
char *ustrrchr(const char *s, int c);
DESCRIPTION
Finds the last occurrence of the character `c' in the string `s'. Exam‐
ple:
char *p = ustrrchr("one,two,three,four", ',');
RETURN VALUE
Returns a pointer for the last occurrence of `c' in `s', or NULL if no
match was found.
SEE ALSOuconvert(3), ustrchr(3), ustrstr(3), ustrpbrk(3), ustrtok(3)Allegro version 4.4.2 ustrrchr(3)