home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-08-31 | 801 b | 29 lines | [TEXT/RLAB] |
- open:
-
- Synopsis: open a file for read/write operations.
-
- Syntax: open ( FILENAME, MODE )
- open ( FILENAME, MODE, BUFFSIZE )
-
- Description:
-
- Open will open a file or a pipe for read or write
- operations. Open allows the user to specify the mode of
- operation, and optionally a buffer-size for I/O. The "normal"
- UNIX modes are:
-
- MODE: "r" read access
- "w" write access
- "a" append: open for writing at end of file, or
- create for writing
-
- BUFFSIZE: Buffersize is specified in bytes. If BUFFSIZE
- is not specified the system defaults are used.
-
- Other operating systems may have different mode keys. Look at
- the API documentation for fopen() on your system to find what
- mode values are acceptable.
-
- See Also: FILES close, printf, fprintf, read, readb, readm, write,
- writeb, writem
-