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-04.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-18  |  562KB  |  2550x3300
Labels: binder | book | poster | reckoner
OCR: F-4 Programmer' Handbook Return value iochar 10 EOF for Example See ungetc.c (Section 10.3 Input Functions Terminal Input Functions getchar() reads keyboard) a single Usually character imp from lemented standard asa macro input (the Parameters none Return value the value input(a value of type int) or EOF when end-of-file is reached Example See inout2 (Section 2.5). gets( inbuff inputs string from standard input Parameters inbuff the address ofa buffer that will hold the input Return value acha value, the address of inbuff or NULI in case of ertot or end-of-file Example See counter.c (Section 5.3) and struct2. (Section 7.3) File Input Functions NOTE The following functions do file input. When with a parameter call to fp fopen) mentioned. oran should refer to file that has been opened for in ...