--- path.h 2002/08/03 21:00:14 1.3
+++ path.h 2002/08/23 15:33:18 1.4
@@ -37,7 +37,9 @@
PATH_ERR_USE,
PATH_ERR_INT,
PATH_ERR_SYS,
- PATH_ERR_EXS
+ PATH_ERR_MEM,
+ PATH_ERR_EXS,
+ PATH_ERR_NFD
} path_rc_t;
typedef enum {
@@ -51,6 +53,7 @@
char *path_dirname (char *, size_t, const char *);
char *path_basename (char *, size_t, const char *);
path_rc_t path_temp(path_temp_t id, const char *tmpl, char **res_ptr, size_t *res_size, int *res_fd);
+path_rc_t path_self (char *res_buf, size_t res_size, const char *argv0);
#endif /* __PATH_H__ */
|