ustrrchr.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

ustrrchr - Finds the last occurrence of a character in a string. Allegro 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'. Example:
    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 ALSO

uconvert(3alleg), ustrchr(3alleg), ustrstr(3alleg), ustrpbrk(3alleg), ustrtok(3alleg)