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-19.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-18  |  631KB  |  2550x3300
Labels: book | poster | reckoner | sky
OCR: The ANSI C Library F-19 Example memchr( "fizz" returns NULL memchr returns the address of the first nality as those ot in the depend param- on memset( buffl, ch, n initializes character ch the first T bytes ofbuffl to hold the im The decla- Parameters biffl memory buffer in the program; ch the character. value of type size indicating the number of bytes to initialize Return value the address char value Example With the declaration, char array[10], he current memset (array "0' 10 initializes the array to bytes of 0 he number of Character Testing All the facilities for character testing are similar. Most of 'them are implemented as macros, and are defined in the standard header file ctype.h. The following infor- from mation valid for all of the functions listed here Parameters is of type irt ...