| www.delorie.com/djgpp/doc/libc-2.01/libc_601.html | search |
#include <string.h> char *strchr(const char *s, int c);
This function returns a pointer to the first occurrence of c in
s. Note that if c is NULL, this will return a
pointer to the end of the string.
A pointer to the character, or NULL if it wasn't found.
char *slash = strchr(filename, '/');
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |