Chown
change the ownership of a file
chown
char *fname
int ownerid
Description
This call is available only to the super user. "Fname" is a
pointer to a file name, and "ownerid" is the new user-id.
Diagnostics
Zero is returned from a successful call. -1 is returned from on error.