| www.delorie.com/djgpp/doc/libc-2.01/libc_622.html | search |
#include <string.h> char *strstr(const char *s1, const char *s2);
This function finds the first occurrence of s2 in s1.
A pointer within s1, or NULL if s2 wasn't found.
if (strstr(command, ".exe")) do_exe();
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |