C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\strstr.c
/*** *strstr.c - search for one string inside another * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * defines strstr() - search for one string inside another * *******************************************************************************/
#include <cruntime.h> #include <string.h>
/*** *char *strstr(string1, string2) - search for string2 in string1 * *Purpose: * finds the first occurrence of string2 in string1 * *Entry: * char *string1 - string to search in * char *string2 - string to search for * *Exit: * returns a pointer to the first occurrence of string2 in * string1, or NULL if string2 does not occur in string1 * *Uses: * *Exceptions: * *******************************************************************************/
C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\strstr.c
/*** *strstr.c - search for one string inside another * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * defines strstr() - search for one string inside another * *******************************************************************************/
#include <cruntime.h> #include <string.h>
/*** *char *strstr(string1, string2) - search for string2 in string1 * *Purpose: * finds the first occurrence of string2 in string1 * *Entry: * char *string1 - string to search in * char *string2 - string to search for * *Exit: * returns a pointer to the first occurrence of string2 in * string1, or NULL if string2 does not occur in string1 * *Uses: * *Exceptions: * *******************************************************************************/