diff options
Diffstat (limited to 'support/xunistd.h')
-rw-r--r-- | support/xunistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/xunistd.h b/support/xunistd.h index 5fe5dae818..cdd4e8d92d 100644 --- a/support/xunistd.h +++ b/support/xunistd.h @@ -43,6 +43,10 @@ void xunlink (const char *path); long xsysconf (int name); long long xlseek (int fd, long long offset, int whence); void xftruncate (int fd, long long length); +void xsymlink (const char *target, const char *linkpath); + +/* Equivalent of "mkdir -p". */ +void xmkdirp (const char *, mode_t); /* Read the link at PATH. The caller should free the returned string with free. */ |