added isatty.c: it is reasonably standard on UNIX systems
This commit is contained in:
parent
b3deddfaf3
commit
36861e70ac
|
@ -8,6 +8,7 @@ getopt.c
|
|||
getpass.c
|
||||
getpw.c
|
||||
getw.c
|
||||
isatty.c
|
||||
opendir.c
|
||||
popen.c
|
||||
putenv.c
|
||||
|
|
|
@ -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
|
||||
|
|
11
lang/cem/libcc.ansi/misc/isatty.c
Normal file
11
lang/cem/libcc.ansi/misc/isatty.c
Normal 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);
|
||||
}
|
Loading…
Reference in a new issue