1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

Kernel: Support F_DUPFD_CLOEXEC command to fcntl(2)

Specified by POSIX:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html
This commit is contained in:
Peter Elliott 2023-02-11 14:17:41 -07:00 committed by Linus Groh
parent 22c0e6b60e
commit 2808b03764
2 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,7 @@ extern "C" {
#define F_GETLK 6
#define F_SETLK 7
#define F_SETLKW 8
#define F_DUPFD_CLOEXEC 9
#define FD_CLOEXEC 1