rindex

Searches for character in string.

Format

#include  <strings.h>

char *rindex  (const char *s, int c);
Function Variants This function also has variants named _rindex32 and _rindex64 for use with 32-bit and 64-bit pointer sizes, respectively. See Section 1.8 for more information on using pointer-size-specific functions.

Arguments

s
The string to search.
c
The character to search for.

Description

This function is identical to the strchr function, and is provided for compatibility with some UNIX implementations.


Previous Page | Next Page | Table of Contents | Index