| www.delorie.com/djgpp/doc/libc-2.01/libc_619.html | search |
#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.
char *last_slash = strrchr(filename, '/');
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |