1ustrrchr(3) Allegro manual ustrrchr(3)
2
3
4
6 ustrrchr - Finds the last occurrence of a character in a string. Alle‐
7 gro game programming library.
8
10 #include <allegro.h>
11
12
13 char *ustrrchr(const char *s, int c);
14
16 Finds the last occurrence of the character `c' in the string `s'. Exam‐
17 ple:
18
19 char *p = ustrrchr("one,two,three,four", ',');
20
22 Returns a pointer for the last occurrence of `c' in `s', or NULL if no
23 match was found.
24
25
27 uconvert(3), ustrchr(3), ustrstr(3), ustrpbrk(3), ustrtok(3)
28
29
30
31Allegro version 4.4.3 ustrrchr(3)