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-16.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-18  |  611KB  |  2550x3300
Labels: binder | book | crt screen | poster | reckoner | screen
OCR: F-16 Programmer's Handbook Parameters stringl str ing2 both null- -terminated strings; an int indicating the number of characters to compare Return value Same return value as strcmp () Examples st rncmp "Dai isy" "Daffy" returns zero while strncmp( "Daisy" "Daffy" returns positive value. strchr( string, ch looks for the first occurrence of ch in string Parameters null -terminated string: character Return value pointer to the occurrence of ch in stri ing or NULL if ch does not appear in str ing. char value Example See strchrex.c (Section 5.5). strrchr( stri ng ch same as strchr () but looks at the string in reverse order. Parameters Same parameters as strchr Return value pointer to the last occurrence of ch in stri ing or NULL if chi not in string. A char value. strspn( stringl string2 coun ...