added isatty.c: it is reasonably standard on UNIX systems

This commit is contained in:
eck 1990-12-03 14:13:31 +00:00
parent b3deddfaf3
commit 36861e70ac
3 changed files with 13 additions and 1 deletions

View file

@ -8,6 +8,7 @@ getopt.c
getpass.c
getpw.c
getw.c
isatty.c
opendir.c
popen.c
putenv.c

View file

@ -2,4 +2,4 @@ clean:
rm -f getgrent.o getopt.o getpass.o getpw.o getw.o putw.o putenv.o \
environ.o popen.o sleep.o termcap.o fdopen.o closedir.o \
getdents.o opendir.o readdir.o rewinddir.o seekdir.o \
telldir.o OLIST
telldir.o isatty.o OLIST

View file

@ -0,0 +1,11 @@
/*
* isatty - check if a file descriptor is associated with a terminal
*/
/* $Header$ */
int _isatty(int d);
int isatty(int d)
{
return _isatty(d);
}