.\" Generated by the Allegro makedoc utility .TH ustrrchr 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME ustrrchr \- Finds the last occurrence of a character in a string. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B char *ustrrchr(const char *s, int c); .SH DESCRIPTION Finds the last occurrence of the character `c' in the string `s'. Example: .nf char *p = ustrrchr("one,two,three,four", ','); .fi .SH "RETURN VALUE" Returns a pointer for the last occurrence of `c' in `s', or NULL if no match was found. .SH SEE ALSO .BR uconvert (3alleg4), .BR ustrchr (3alleg4), .BR ustrstr (3alleg4), .BR ustrpbrk (3alleg4), .BR ustrtok (3alleg4)