diff --git a/src/kernel/libroot/posix/unistd/Jamfile b/src/kernel/libroot/posix/unistd/Jamfile index 942c5b6d67..f1736f8516 100644 --- a/src/kernel/libroot/posix/unistd/Jamfile +++ b/src/kernel/libroot/posix/unistd/Jamfile @@ -17,6 +17,7 @@ KernelMergeObject posix_unistd.o : <$(SOURCE_GRIST)>open.c <$(SOURCE_GRIST)>read.c <$(SOURCE_GRIST)>sleep.c + <$(SOURCE_GRIST)>terminal.c <$(SOURCE_GRIST)>truncate.c <$(SOURCE_GRIST)>usergroup.c <$(SOURCE_GRIST)>usleep.c diff --git a/src/kernel/libroot/posix/unistd/terminal.c b/src/kernel/libroot/posix/unistd/terminal.c new file mode 100644 index 0000000000..a8085e68b0 --- /dev/null +++ b/src/kernel/libroot/posix/unistd/terminal.c @@ -0,0 +1,17 @@ +/* +** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +*/ + + +#include +#include + + +int +isatty(int file) +{ + // ToDo: please fix me! + return file < 3; +} +