summaryrefslogtreecommitdiff
path: root/userland/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/syscall.h1
-rw-r--r--userland/libc/include/unistd.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index 32d7b33..135c669 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -38,6 +38,7 @@
#define SYS_SIGACTION 30
#define SYS_CHDIR 31
#define SYS_GETCWD 32
+#define SYS_ISATTY 33
int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx,
uint32_t esi, uint32_t edi);
diff --git a/userland/libc/include/unistd.h b/userland/libc/include/unistd.h
index 89c48d0..d8c8b9d 100644
--- a/userland/libc/include/unistd.h
+++ b/userland/libc/include/unistd.h
@@ -23,4 +23,5 @@ void msleep(uint32_t ms); // not standard
uint32_t uptime(void); // not standard
int chdir(const char *path);
char *getcwd(char *buf, size_t size);
+int isatty(int fd);
#endif