diff lib/lib.h @ 4:732b055e17f7

Add xmsprintf(), xgetcwd(), xgetcwd(), find_in_path().
author landley@driftwood
date Wed, 25 Oct 2006 18:38:37 -0400
parents 266a462ed18c
children fc9c0503d5e2
line wrap: on
line diff
--- a/lib/lib.h	Wed Oct 18 18:38:16 2006 -0400
+++ b/lib/lib.h	Wed Oct 25 18:38:37 2006 -0400
@@ -7,9 +7,12 @@
 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));