@node strstr, string @subheading Syntax @example #include char *strstr(const char *s1, const char *s2); @end example @subheading Description This function finds the first occurrence of @var{s2} in @var{s1}. @subheading Return Value A pointer within @var{s1}, or @code{NULL} if @var{s2} wasn't found. @subheading Portability @portability ansi, posix @subheading Example @example if (strstr(command, ".exe")) do_exe(); @end example