Changes the owner user identification code (UIC) of the file.
#include <unistd.h> int chown (const char *file_spec, uid_t owner, gid_t group); (ISO POSIX-1) int chown (const char *file_spec, unsigned int owner, unsigned int group); (Compatability)
0 | Indicates success. |
-1 | Indicates failure. |