| cvs.gedasymbols.org/djgpp/doc/libc/libc_564.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#include <string.h> void *memchr(const void *string, int ch, size_t num);  | 
This function searches num bytes starting at string, looking for the first occurence of ch.
A pointer to the first match, or NULL if it wasn't found.
| ANSI/ISO C | C89; C99 | 
| POSIX | 1003.2-1992; 1003.1-2001 | 
if (memchr(path, '/', strlen(path)) do_slash();  | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |