diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-20 19:36:55 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-20 19:36:55 +0300 |
commit | 2f339225f817921e32f131f2ae163d367f62f564 (patch) | |
tree | a053e5057f3dd62545bb170e9ad6584423fdc103 /io.c | |
parent | 403350c2b25551c749e2310556ba2f63e271042b (diff) | |
download | egawk-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. */ |