|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!-- $Revision$ --> |
3 | | - |
4 | | -<refentry xml:id="function.eio-chmod" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 3 | +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.eio-chmod"> |
5 | 4 | <refnamediv> |
6 | 5 | <refname>eio_chmod</refname> |
7 | 6 | <refpurpose>Change file/directory permissions</refpurpose> |
|
13 | 12 | <type>resource</type><methodname>eio_chmod</methodname> |
14 | 13 | <methodparam><type>string</type><parameter>path</parameter></methodparam> |
15 | 14 | <methodparam><type>int</type><parameter>mode</parameter></methodparam> |
16 | | - <methodparam |
17 | | - choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam> |
18 | | - <methodparam |
19 | | - choice="opt"><type>callable</type><parameter>callback</parameter><initializer>NULL</initializer></methodparam> |
20 | | - <methodparam |
21 | | - choice="opt"><type>mixed</type><parameter>data</parameter><initializer>NULL</initializer></methodparam> |
| 15 | + <methodparam choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam> |
| 16 | + <methodparam choice="opt"><type>callable</type><parameter>callback</parameter><initializer>NULL</initializer></methodparam> |
| 17 | + <methodparam choice="opt"><type>mixed</type><parameter>data</parameter><initializer>NULL</initializer></methodparam> |
22 | 18 | </methodsynopsis> |
23 | | - <para> |
| 19 | + <simpara> |
24 | 20 | <function>eio_chmod</function> changes file, or directory permissions. The |
25 | 21 | new permissions are specified by <parameter>mode</parameter>. |
26 | | - </para> |
| 22 | + </simpara> |
27 | 23 |
|
28 | 24 | </refsect1> |
29 | 25 |
|
|
33 | 29 | <varlistentry> |
34 | 30 | <term><parameter>path</parameter></term> |
35 | 31 | <listitem> |
36 | | - <para> |
| 32 | + <simpara> |
37 | 33 | Path to the target file or directory |
38 | 34 | &eio.warn.relpath; |
39 | | - </para> |
| 35 | + </simpara> |
40 | 36 | </listitem> |
41 | 37 | </varlistentry> |
42 | 38 | <varlistentry> |
43 | 39 | <term><parameter>mode</parameter></term> |
44 | 40 | <listitem> |
45 | | - <para> |
| 41 | + <simpara> |
46 | 42 | The new permissions. E.g. <literal>0644</literal>. |
47 | | - </para> |
| 43 | + </simpara> |
48 | 44 | </listitem> |
49 | 45 | </varlistentry> |
50 | 46 | <varlistentry> |
|
62 | 58 | <varlistentry> |
63 | 59 | <term><parameter>data</parameter></term> |
64 | 60 | <listitem> |
65 | | - <para> |
| 61 | + <simpara> |
66 | 62 | Arbitrary variable passed to <parameter>callback</parameter>. |
67 | | - </para> |
| 63 | + </simpara> |
68 | 64 | </listitem> |
69 | 65 | </varlistentry> |
70 | 66 | </variablelist> |
71 | 67 | </refsect1> |
72 | 68 |
|
73 | 69 | <refsect1 role="returnvalues"> |
74 | 70 | &reftitle.returnvalues; |
75 | | - <para> |
| 71 | + <simpara> |
76 | 72 | <function>eio_chmod</function> returns request resource on success,&return.falseforfailure;. |
77 | | - </para> |
| 73 | + </simpara> |
78 | 74 | </refsect1> |
79 | 75 |
|
80 | 76 | <refsect1 role="seealso"> |
|
85 | 81 | </refsect1> |
86 | 82 |
|
87 | 83 | </refentry> |
88 | | - |
89 | 84 | <!-- Keep this comment at the end of the file |
90 | 85 | Local variables: |
91 | 86 | mode: sgml |
|
0 commit comments