mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
Various stubs while trying to get an old coreutils to build.
This commit is contained in:
parent
e440c3fa87
commit
303577df16
Notes:
sideshowbarker
2024-07-19 16:09:53 +09:00
Author: https://github.com/awesomekling
Commit: 303577df16
20 changed files with 132 additions and 23 deletions
13
LibC/fcntl.h
13
LibC/fcntl.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue