aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-05-20 19:36:55 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-05-20 19:36:55 +0300
commit2f339225f817921e32f131f2ae163d367f62f564 (patch)
treea053e5057f3dd62545bb170e9ad6584423fdc103 /io.c
parent403350c2b25551c749e2310556ba2f63e271042b (diff)
downloadegawk-2f339225f817921e32f131f2ae163d367f62f564.tar.gz
egawk-2f339225f817921e32f131f2ae163d367f62f564.tar.bz2
egawk-2f339225f817921e32f131f2ae163d367f62f564.zip
Move FAKE_FD_VALUE out of gawkapi.h.
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io.c b/io.c
index 6024c4f9..333d8704 100644
--- a/io.c
+++ b/io.c
@@ -152,6 +152,10 @@
#define INCREMENT_REC(X) X++
#endif
+/* This is for fake directory file descriptors on systems that don't
+ allow to open() a directory. */
+#define FAKE_FD_VALUE 42
+
typedef enum { CLOSE_ALL, CLOSE_TO, CLOSE_FROM } two_way_close_type;
/* Several macros to make the code a bit clearer. */