summaryrefslogtreecommitdiff
path: root/Kernel/UnixTypes.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-19 20:34:45 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-20 08:31:31 +0200
commit754112220645222d145da82091d31f7c35d5dc33 (patch)
treec5568318218c6f67fd99b56ff4672dae3ceebac0 /Kernel/UnixTypes.h
parentf9cffda0e09470c41afad6da1dd8ac75ccde068f (diff)
downloadserenity-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.h1
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