| cvs.gedasymbols.org/djgpp/doc/libc/libc_665.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#include <strings.h> char *rindex(const char *string, int ch);  | 
Returns a pointer to the last occurrence of ch in string. 
Note that the NULL character counts, so if you pass zero as
ch you'll get a pointer to the end of the string back. 
A pointer to the character, or NULL if it wasn't found.
| ANSI/ISO C | No | 
| POSIX | No | 
char *last_slash = rindex(filename, '/');  | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |