mlib update: new isnan()/isnanf() implementation
[tangerine.git] / compiler / clib / isatty.c
blob07801584e4a51597914e1e1bd2fc4d76bd011f0b
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/dos.h>
8 #include "__open.h"
10 #include <unistd.h>
12 int isatty(int fd)
14 fdesc *desc = __getfdesc(fd);
16 if (desc)
17 return IsInteractive(desc->fh)?1:0;
19 return 0;