PWB1/usr/man/man2/chown.2

Compare this file to the similar file:
Show the results in this format:

.th CHOWN II 5/31/77
.sh NAME
chown \*- change owner and group of a file
.sh SYNOPSIS
(chown = 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
.it name
has its owner and group changed to
the low and high bytes of
.it owner
respectively.
.sh "SEE ALSO"
chown(I), chgrp(I), 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.