diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-29 16:33:00 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-29 16:33:00 +0300 |
commit | 82816b279615b27f7c4f87349a8c830a96939d8c (patch) | |
tree | cf30bf71692e090ca6ca4934e65184aa990a3055 /awk.h | |
parent | 207fc1458c7f168822e454a89f23428c64163427 (diff) | |
download | egawk-82816b279615b27f7c4f87349a8c830a96939d8c.tar.gz egawk-82816b279615b27f7c4f87349a8c830a96939d8c.tar.bz2 egawk-82816b279615b27f7c4f87349a8c830a96939d8c.zip |
Finish work on iop management. New readdir test.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -906,6 +906,7 @@ typedef struct iobuf { */ ssize_t (*read_func)(); + bool valid; int errcode; int flag; @@ -1532,7 +1533,7 @@ extern int os_devopen(const char *name, int flag); extern void os_close_on_exec(int fd, const char *name, const char *what, const char *dir); extern int os_isatty(int fd); extern int os_isdir(int fd); -extern int os_isreadable(int fd); +extern int os_isreadable(int fd, bool *isdir); extern int os_is_setuid(void); extern int os_setbinmode(int fd, int mode); extern void os_restore_mode(int fd); |