Rev 2674 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2674 | Rev 2708 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 35 | #ifndef LIBC_FCNTL_H_ |
35 | #ifndef LIBC_FCNTL_H_ |
| 36 | #define LIBC_FCNTL_H_ |
36 | #define LIBC_FCNTL_H_ |
| 37 | 37 | ||
| - | 38 | #define O_CREAT 1 |
|
| - | 39 | #define O_EXCL 2 |
|
| - | 40 | #define O_TRUNC 4 |
|
| - | 41 | #define O_APPEND 8 |
|
| - | 42 | #define O_RDONLY 16 |
|
| - | 43 | #define O_RDWR 32 |
|
| - | 44 | #define O_WRONLY 64 |
|
| - | 45 | ||
| 38 | extern int open(const char *, int, ...); |
46 | extern int open(const char *, int, ...); |
| 39 | 47 | ||
| 40 | #endif |
48 | #endif |
| 41 | 49 | ||
| 42 | /** @} |
50 | /** @} |