Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3386 | Rev 4581 | ||
---|---|---|---|
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 |
38 | #define O_CREAT 1 |
39 | #define O_EXCL 2 |
39 | #define O_EXCL 2 |
40 | #define O_TRUNC 4 |
40 | #define O_TRUNC 4 |
41 | #define O_APPEND 8 |
41 | #define O_APPEND 8 |
42 | #define O_RDONLY 16 |
42 | #define O_RDONLY 16 |
43 | #define O_RDWR 32 |
43 | #define O_RDWR 32 |
44 | #define O_WRONLY 64 |
44 | #define O_WRONLY 64 |
45 | 45 | ||
46 | extern int open(const char *, int, ...); |
46 | extern int open(const char *, int, ...); |
47 | 47 | ||
48 | #endif |
48 | #endif |
49 | 49 |