home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / clesson / c.dir / 00334_t1.pcx.png < prev    next >
Portable Network Graphic  |  1995-04-05  |  14.0 KB  |  549x228  |  4-bit (13 colors)
   ocr: he lirst: argument to open()is a file name; the second argument specifies how the file is to be opened. If there are no errors, the function returns a file descriptor; otherwise, the value-1 IS returned. The identifier in fd is mnemonic for "in file descriptor. I On our system, the symbolic constant 0 RDONLY is given in fcntl.h. It is mnemonic for "open for reading only. -