FreeBASIC  0.91.0
io_isredir.c
Go to the documentation of this file.
1 #include "../fb.h"
2 
3 int fb_ConsoleIsRedirected( int is_input )
4 {
5  return (isatty( fileno( (is_input? stdin : stdout) ) ) == 0);
6 }