home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 48
/
Amiga_Dream_48.iso
/
Atari
/
c
/
sozobon-v2
/
dlibsrc.lha
/
ISATTY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-10-05
|
239b
|
16 lines
#include <stdio.h>
#include <osbind.h>
int isatty(handle)
register int handle;
{
register long status;
if((status = Fseek(1L, handle, 1)) > 0)
{
Fseek(-1L, handle, 1);
return(FALSE);
}
return(status == 0);
}