fchmodat (2) Linux Manual Page
chmod, fchmod, fchmodat – change permissions of a file Synopsis#include <sys/stat.h> int chmod(const char *pathname, mode_t mode); int fchmod(int fd, mode_t mode); #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags);Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fchmod(): Since glibc 2.24: _POSIX_C_SOURCE >= 199309L Glibc…
