home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / clesson / c.dir / 00329.png < prev    next >
Portable Network Graphic  |  1995-04-05  |  6.3 KB  |  519x203  |  1-bit (2 colors)
   ocr: The first argument to open() IS a file name, the second argument specifies how the file is tol 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. H On our system, the symbolic constant 0 RDONLY is given in fcntl.h. It is mnemonic for "open for reading only.'