view docs/ccguide/chmod.refentry @ 552:fcb97f0ba24b

All diagnostics added.
author roug
date Wed, 16 Oct 2002 20:02:31 +0000
parents f0c8d53e5a50
children c0da1728ed5b
line wrap: on
line source

<refentry id="chmod">
<refnamediv>
<refname>Chmod</refname>
<refpurpose>change access permissions of a file</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;modes.h&gt;
</funcsynopsisinfo>
<funcprototype>
  <funcdef><function>chmod</function></funcdef>
  <paramdef>char *<parameter>fname</parameter></paramdef>
  <paramdef>int <parameter>perm</parameter></paramdef>
</funcprototype>
</funcsynopsis>

</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
Placeholder
</para>
</refsect1>
<refsect1><title>Diagnostics</title>
<para>
A successful call returns 0. A -1 is returned if the
caller is not entitled to change permissions of "fname" cannot
be found.
</para>
</refsect1>

</refentry>