Last change
on this file since a6f5b95 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
919 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | /**
|
---|
| 2 | *
|
---|
| 3 | * The following symbols are used for the "open" and "creat" functions.
|
---|
| 4 | *
|
---|
| 5 | **/
|
---|
| 6 | #define O_RDONLY 0 /* Read-only value (right byte of mode word) */
|
---|
| 7 | #define O_WRONLY 1 /* Write-only value */
|
---|
| 8 | #define O_RDWR 2 /* Read-write value */
|
---|
| 9 |
|
---|
| 10 | #define O_NDELAY 4 /* Non-blocking I/O flag */
|
---|
| 11 | #define O_APPEND 8 /* Append mode flag */
|
---|
| 12 | #define O_CREAT 0x0100 /* File creation flag */
|
---|
| 13 | #define O_TRUNC 0x200 /* File truncation flag */
|
---|
| 14 | #define O_EXCL 0x400 /* Exclusive access flag */
|
---|
| 15 |
|
---|
| 16 | #define O_RAW 0x8000 /* Raw I/O flag (Lattice feature) */
|
---|
| 17 |
|
---|
| 18 | /**
|
---|
| 19 | *
|
---|
| 20 | * The following symbols are used for the "fcntl" function.
|
---|
| 21 | *
|
---|
| 22 | */
|
---|
| 23 | #define F_DUPFD 0 /* Duplicate file descriptor */
|
---|
| 24 | #define F_GETFD 1 /* Get file descriptor flags */
|
---|
| 25 | #define F_SETFD 2 /* Set file descriptor flags */
|
---|
| 26 | #define F_GETFL 3 /* Get file flags */
|
---|
| 27 | #define F_SETFL 4 /* Set file flags */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.