aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/base/fs.h4
-rw-r--r--include/base/io.h8
2 files changed, 4 insertions, 8 deletions
diff --git a/include/base/fs.h b/include/base/fs.h
index bb7ffdc..b2d61c3 100644
--- a/include/base/fs.h
+++ b/include/base/fs.h
@@ -27,3 +27,7 @@ struct fs·Walker
int fs·init(fs·Walker *, char *path);
void fs·fini(fs·Walker *);
void fs·walk(fs·Walker *);
+
+int fs·exists(byte *path, int flag);
+byte *fs·dirname(byte *path);
+byte *fs·basename(byte *path);
diff --git a/include/base/io.h b/include/base/io.h
index 541159f..dae57ef 100644
--- a/include/base/io.h
+++ b/include/base/io.h
@@ -132,11 +132,3 @@ intptr io·offset(io·Header *io);
int io·print(io·Header *io, char *fmt, ...);
int io·vprint(io·Header *io, char *fmt, va_list args);
-
-/* basic os helpers */
-/* XXX: find a better location for this */
-int os·exists(byte *path, int flag);
-byte *os·dirname(byte *path);
-byte *os·basename(byte *path);
-int os·sep(void);
-