Various stubs while trying to get an old coreutils to build.

This commit is contained in:
Andreas Kling 2018-11-17 15:56:09 +01:00
commit 303577df16
Notes: sideshowbarker 2024-07-19 16:09:53 +09:00
20 changed files with 132 additions and 23 deletions

View file

@ -12,6 +12,19 @@ __BEGIN_DECLS
#define FD_CLOEXEC 1
#define O_RDONLY 0
#define O_WRONLY 1
#define O_RDWR 2
#define O_CREAT 0100
#define O_EXCL 0200
#define O_NOCTTY 0400
#define O_TRUNC 01000
#define O_APPEND 02000
#define O_NONBLOCK 04000
#define O_DIRECTORY 00200000
#define O_NOFOLLOW 00400000
#define O_CLOEXEC 02000000
int fcntl(int fd, int cmd, ...);
__END_DECLS