int chmod(const char* path, mode_t mode);
Changes the file permissions for path to mode. Returns zero on success, or the negation of the error code on error.
int chmod(const char* path, mode_t mode);
Changes the file permissions for path to mode. Returns zero on success, or the negation of the error code on error.