diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-17 11:48:51 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-17 11:48:51 -0700 |
commit | 11743fd21a99b32ae358f56b7cabdd8368bf78aa (patch) | |
tree | 239aa0a8b58bec4f4f1ad70d6b356e9196f16e0f /sys/libn/io.c | |
parent | ec3ad4722a5cd53491d6cf031c94d394f17e5c5e (diff) |
change signature for string functions
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) { |