summaryrefslogtreecommitdiff
path: root/src/misc/isastream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/isastream.c')
-rw-r--r--src/misc/isastream.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/misc/isastream.c b/src/misc/isastream.c
deleted file mode 100644
index 4dafdb08..00000000
--- a/src/misc/isastream.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stropts.h>
-#include <fcntl.h>
-
-int isastream(int fd)
-{
- return fcntl(fd, F_GETFD) < 0 ? -1 : 0;
-}