File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
components/libc/compilers/armlibc/sys Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 3636#define _FNDELAY _FNONBLOCK /* non blocking I/O (4.2 style) */
3737#define _FNOCTTY 0x8000 /* don't assign a ctty on this open */
3838
39+
40+ #ifndef O_RDONLY
3941#define O_RDONLY 0 /* +1 == FREAD */
42+ #endif
43+ #ifndef O_WRONLY
4044#define O_WRONLY 1 /* +1 == FWRITE */
45+ #endif
46+ #ifndef O_RDWR
4147#define O_RDWR 2 /* +1 == FREAD|FWRITE */
48+ #endif
49+ #ifndef O_APPEND
4250#define O_APPEND _FAPPEND
51+ #endif
52+ #ifndef O_CREAT
4353#define O_CREAT _FCREAT
54+ #endif
55+ #ifndef O_TRUNC
4456#define O_TRUNC _FTRUNC
57+ #endif
58+ #ifndef O_EXCL
4559#define O_EXCL _FEXCL
60+ #endif
61+ #ifndef O_SYNC
4662#define O_SYNC _FSYNC
4763#endif
4864
65+ #endif
66+
4967
5068int isatty (int fd );
5169char * ttyname (int desc );
You can’t perform that action at this time.
0 commit comments