delorie.com/djgpp/doc/libc/libc_470.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <strings.h> char *index(const char *string, int ch); |
Returns a pointer to the first 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 |
if (index(path, '*')) do_wildcards(path); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |