From 03261851a10dd2d6900a0a00a7515a0a46fb5d76 Mon Sep 17 00:00:00 2001 From: Ranjith Kumaran Date: Fri, 17 Mar 2000 22:48:54 +0000 Subject: 20000317 sourceware import --- libgloss/libnosys/isatty.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libgloss/libnosys/isatty.c (limited to 'libgloss/libnosys/isatty.c') diff --git a/libgloss/libnosys/isatty.c b/libgloss/libnosys/isatty.c new file mode 100644 index 000000000..db124315b --- /dev/null +++ b/libgloss/libnosys/isatty.c @@ -0,0 +1,21 @@ +/* + * Stub version of isatty. + */ + +#include "config.h" +#include <_ansi.h> +#include <_syslist.h> +#include +#undef errno +extern int errno; +#include "warning.h" + +int +_DEFUN (isatty, (file), + int file) +{ + errno = ENOSYS; + return 0; +} + +stub_warning(isatty) -- cgit v1.2.3