aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/base.h1
-rw-r--r--include/libfmt.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/base.h b/include/base.h
index 822cc09..3e544e5 100644
--- a/include/base.h
+++ b/include/base.h
@@ -159,6 +159,7 @@ long io·tell(io·Stream *s);
/* basic os helpers */
int os·exists(byte *path, int flag);
+byte *os·dirname(byte *path);
byte *os·basename(byte *path);
int os·sep(void);
diff --git a/include/libfmt.h b/include/libfmt.h
index 7ba40a0..4c187fd 100644
--- a/include/libfmt.h
+++ b/include/libfmt.h
@@ -51,6 +51,7 @@ enum
/* normal printing interface */
int fmt·print(char *fmt, ...);
int fmt·fprint(int fd, char *fmt, ...);
+void fmt·panic(char *fmt, ...);
int fmt·sprint(char *buf, char *fmt, ...);
int fmt·nsprint(int len, char *buf, char *fmt, ...);