From 7b9c3260bcca73781dda6bc2ddee84869bedfb8c Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 14 Dec 2020 11:42:33 -0300 Subject: support: Add xchmod wrapper Checked on x86_64-linux-gnu. --- support/xunistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'support/xunistd.h') diff --git a/support/xunistd.h b/support/xunistd.h index eb1b5519ff..c642588c29 100644 --- a/support/xunistd.h +++ b/support/xunistd.h @@ -47,6 +47,7 @@ void xftruncate (int fd, long long length); void xsymlink (const char *target, const char *linkpath); void xchdir (const char *path); void xfchmod (int fd, mode_t mode); +void xchmod (const char *pathname, mode_t mode); /* Equivalent of "mkdir -p". */ void xmkdirp (const char *, mode_t); -- cgit 1.4.1