diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-16 17:08:11 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-16 17:29:09 +0100 |
commit | fbcab844de177b7ba3a136f4943ea5af805afaf4 (patch) | |
tree | dd8a7e16337e3fbd26f3a30686c325b20268d77c /Libraries/LibC/unistd.h | |
parent | 8d4d63d9b62169bec7deb963116436efb96f6539 (diff) | |
download | serenity-fbcab844de177b7ba3a136f4943ea5af805afaf4.zip |
LibC: Move the creat() and open() families to <fcntl.h>
Since POSIX says that's where they belong :^)
Diffstat (limited to 'Libraries/LibC/unistd.h')
-rw-r--r-- | Libraries/LibC/unistd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Libraries/LibC/unistd.h b/Libraries/LibC/unistd.h index b112a31263..f87a09b26b 100644 --- a/Libraries/LibC/unistd.h +++ b/Libraries/LibC/unistd.h @@ -73,13 +73,6 @@ int setuid(uid_t); int setgid(gid_t); pid_t tcgetpgrp(int fd); int tcsetpgrp(int fd, pid_t pgid); -int creat(const char* path, mode_t); -int open(const char* path, int options, ...); -int creat_with_path_length(const char* path, size_t path_length, mode_t); -int open_with_path_length(const char* path, size_t path_length, int options, mode_t); -#define AT_FDCWD -100 -int openat(int dirfd, const char* path, int options, ...); -int openat_with_path_length(int dirfd, const char* path, size_t path_length, int options, mode_t); ssize_t read(int fd, void* buf, size_t count); ssize_t write(int fd, const void* buf, size_t count); int close(int fd); |