Changes the file protection of a file. Syntax: #include <stat.h> int chmod(const char *file_spec, mode_t mode);