diff options
Diffstat (limited to 'open_read.c')
-rw-r--r-- | open_read.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/open_read.c b/open_read.c new file mode 100644 index 0000000..99b3cd1 --- /dev/null +++ b/open_read.c | |||
@@ -0,0 +1,8 @@ | |||
1 | /* Public domain. */ | ||
2 | |||
3 | #include <sys/types.h> | ||
4 | #include <fcntl.h> | ||
5 | #include "open.h" | ||
6 | |||
7 | int open_read(const char *fn) | ||
8 | { return open(fn,O_RDONLY | O_NDELAY); } | ||