delorie.com/djgpp/doc/libc/libc_775.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
if (strstr(command, ".exe")) do_exe(); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |