.th CHOWN IV 3/6/86
.sh NAME
chown \*- change owner and group of a file
.sh SYNOPSIS
(chmod = 16.)
.br
.ft B
sys chown; name; owner
.s3
chown(name, owner)
.br
char *name;
.ft R
.sh DESCRIPTION
The file
whose name is given by the null-terminated string pointed
to by
name
has its owner and group changed to
the low and high bytes of
owner
respectively.
.sh "SEE ALSO"
chown (IVII), chgrp (VIII), passwd (V)
.sh DIAGNOSTICS
The error bit (c-bit) is set
on illegal owner changes.
From C a \*-1 returned value indicates error,
0 indicates success.
.sh KSOS
This system call is subsumed by the NKSR;
attempted use under the UNIX Emulator will result in an error.
