#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, POSIX
if (strstr(command, ".exe")) do_exe();
Go to the first, previous, next, last section, table of contents.