Kernel+LibC: Switch isatty() to use a fcntl()

We would want it to work with only stdio pledged.
This commit is contained in:
Sergey Bugaev 2020-05-19 20:34:45 +03:00 committed by Andreas Kling
commit 7541122206
Notes: sideshowbarker 2024-07-19 06:22:57 +09:00
4 changed files with 5 additions and 2 deletions

View file

@ -74,6 +74,7 @@
#define F_SETFD 2
#define F_GETFL 3
#define F_SETFL 4
#define F_ISTTY 5
#define FD_CLOEXEC 1