annotate docs/ccguide/chown.refentry @ 1352:69e75af20e16

Added padrom help file
author boisy
date Wed, 17 Sep 2003 20:24:09 +0000
parents c0da1728ed5b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
1 <refentry id="chown">
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 <refnamediv>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
3 <refname>Chown</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>change the ownership of a file</refpurpose>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
5 </refnamediv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
6
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
7 <refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
8 <funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
9 <funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
10 <funcdef><function>chown</function></funcdef>
570
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
11 <paramdef>char *<parameter>fname</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
12 <paramdef>int <parameter>ownerid</parameter></paramdef>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
15
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
17
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
18 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
19 <para>
594
c0da1728ed5b All refentries finished.
roug
parents: 570
diff changeset
20 This call is available only to the super user. "Fname" is a
c0da1728ed5b All refentries finished.
roug
parents: 570
diff changeset
21 pointer to a file name, and "ownerid" is the new user-id.
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
22 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
23 </refsect1>
552
fcb97f0ba24b All diagnostics added.
roug
parents: 468
diff changeset
24 <refsect1><title>Diagnostics</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 468
diff changeset
25 <para>
fcb97f0ba24b All diagnostics added.
roug
parents: 468
diff changeset
26 Zero is returned from a successful call. -1 is returned from on error.
fcb97f0ba24b All diagnostics added.
roug
parents: 468
diff changeset
27 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 468
diff changeset
28 </refsect1>
fcb97f0ba24b All diagnostics added.
roug
parents: 468
diff changeset
29
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
30 </refentry>