diff options
Diffstat (limited to 'sys/libn/io.c')
-rw-r--r-- | sys/libn/io.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/libn/io.c b/sys/libn/io.c index 3827a82..2852f42 100644 --- a/sys/libn/io.c +++ b/sys/libn/io.c @@ -22,6 +22,12 @@ io·stat(Stream *s, io·Stat *buf) return fstat(fileno(s), buf); } +int +io·exists(byte *path, int flag) +{ + return access(path, flag); +} + error io·close(Stream *s) { |