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-02.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-18  |  511KB  |  2550x3300
Labels: book | computer | crt screen | monitor | poster | reckoner | screen | sky
OCR: Programmer's Handbook fflush( with file opened for output. causes the contens of the buffer to be written to the file Parameters the FI variable associated with the open file Return value for success EOF -1 for error. fclose( closes the file Flushes the associated buffer and releases 11 Parameters the FILE variable indicating the file to be closed Return value for success, EOF for error Example See fopen2.c (Section 10.2 setbuf( fp, buf uses buf for buffering on the file associated with NULL fp buffering instead 18 of the turned default off buffer If buf is Parameters the FI variable associated with the file the address of f the memory buffer to be used instead of the default buffering .r NULLif buffering is to be turned off Return value None, return type is void. Example se tbuf stdout (c ...