compiled newlib, need to hook up the system calls
This commit is contained in:
19
sysroot/usr/include/fcntl.h
Normal file
19
sysroot/usr/include/fcntl.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef _FCNTL_H
|
||||
#define _FCNTL_H
|
||||
|
||||
/* File access modes for open() */
|
||||
#define O_RDONLY 00000000
|
||||
#define O_WRONLY 00000001
|
||||
#define O_RDWR 00000002
|
||||
|
||||
/* File creation flags */
|
||||
#define O_CREAT 00000100
|
||||
#define O_EXCL 00000200
|
||||
#define O_NOCTTY 00000400
|
||||
#define O_TRUNC 00001000
|
||||
#define O_APPEND 00002000
|
||||
#define O_NONBLOCK 00004000
|
||||
|
||||
#define AT_FDCWD (-100)
|
||||
|
||||
#endif /* _FCNTL_H */
|
||||
Reference in New Issue
Block a user