aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorlandley <landley@driftwood>2006-10-25 18:38:37 -0400
committerlandley <landley@driftwood>2006-10-25 18:38:37 -0400
commit00f87f150c3c9769e09e688bb9779947d64eb9d3 (patch)
tree3518450fc26ef74a861cb0ee4dea3ebe9646d0f1 /lib/lib.h
parentcd9dfc3b7b73715840b63180e2e4bfdb6e7ca9a4 (diff)
downloadtoybox-00f87f150c3c9769e09e688bb9779947d64eb9d3.tar.gz
Add xmsprintf(), xgetcwd(), xgetcwd(), find_in_path().
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 157db343..4ac3f7bb 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -7,9 +7,12 @@ void *xmalloc(size_t size);
void *xzalloc(size_t size);
void xrealloc(void **ptr, size_t size);
void *xstrndup(char *s, size_t n);
+char *xmsprintf(char *format, ...);
void *xexec(char **argv);
int xopen(char *path, int flags, int mode);
FILE *xfopen(char *path, char *mode);
+char *xgetcwd(void);
+char *find_in_path(char *path, char *filename);
// llist.c
void llist_free(void *list, void (*freeit)(void *data));