delorie.com/djgpp/doc/libc/libc_772.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <string.h> char *strrchr(const char *s1, int c); |
This function finds the last occurrence of c
in s1
.
A pointer to the last match, or NULL
if the character isn't in
the string.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
char *last_slash = strrchr(filename, '/'); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |