diff options
Diffstat (limited to 'src/isatty.c')
-rw-r--r-- | src/isatty.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/isatty.c b/src/isatty.c deleted file mode 100644 index bd0f74a..0000000 --- a/src/isatty.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <unistd.h> //for isatty()
-#include <stdio.h> //for fileno()
-
-int c_isatty(void)
-{
-
- if (isatty(fileno(stdin))){
- return 1;
- } else {
- return 0;
- }
-
-}
\ No newline at end of file |