home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / _HANDBOOK_ / APDX_F / F-17.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-18  |  659KB  |  2550x3300
Labels: binder | book | poster | reckoner
OCR: The ANSI C Library F-17 Return value a value of type size indicating the length of the longest characters to substring at the beginning of stringl that contains characters from string2 Example strespn "abc456" 0123456789 ); would return a zero while strstr( stri nql string2 positive value find the first occurrence of stri ing2 asa substring of stringl in string Parameters stringl stri .ng2 both null-terminated strings. Return value pointer to the character of the ISIJ occurrence of string2 NULL if ch r stri ingl or NULL if string2 does not occur in stringi char value Example strstr "Mi sissi ippi "is" would return the address of the immediately after the 'M' string 1n strtok( buffer, delimi iters "token" in buf ffer is defined to be a sequence of characters between any two occurrences of U ...