diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-05-19 20:34:45 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-20 08:31:31 +0200 |
commit | 754112220645222d145da82091d31f7c35d5dc33 (patch) | |
tree | c5568318218c6f67fd99b56ff4672dae3ceebac0 /Kernel/UnixTypes.h | |
parent | f9cffda0e09470c41afad6da1dd8ac75ccde068f (diff) | |
download | serenity-754112220645222d145da82091d31f7c35d5dc33.zip |
Kernel+LibC: Switch isatty() to use a fcntl()
We would want it to work with only stdio pledged.
Diffstat (limited to 'Kernel/UnixTypes.h')
-rw-r--r-- | Kernel/UnixTypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/UnixTypes.h b/Kernel/UnixTypes.h index a8923b2032..c9197931e9 100644 --- a/Kernel/UnixTypes.h +++ b/Kernel/UnixTypes.h @@ -74,6 +74,7 @@ #define F_SETFD 2 #define F_GETFL 3 #define F_SETFL 4 +#define F_ISTTY 5 #define FD_CLOEXEC 1 |