reference/filesystem/functions/lstat.xml
871a231f4a1caa5fb258ae53b1bb7d1fb2a0f949
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.lstat">
3
+
<refentry xml:id="function.lstat" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>lstat</refname>
6
6
<refpurpose>Gives information about a file or symbolic link</refpurpose>
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>lstat</methodname>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>lstat</methodname>
13
13
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -44,6 +44,14 @@
44
44
link, the status of the symbolic link is returned, not the status of the
45
45
file pointed to by the symbolic link.
46
46
</para>
47
+
<para>
48
+
On failure, &false; is returned.
49
+
</para>
50
+
</refsect1>
51
+

52
+
<refsect1 role="errors">
53
+
&reftitle.errors;
54
+
&fs.emits.warning.on.failure;
47
55
</refsect1>
48
56

49
57
<refsect1 role="examples">
...
...
@@ -83,11 +91,6 @@ Array
83
91
</para>
84
92
</refsect1>
85
93

86
-
<refsect1 role="errors">
87
-
&reftitle.errors;
88
-
&fs.emits.warning.on.failure;
89
-
</refsect1>
90
-

91
94
<refsect1 role="notes">
92
95
&reftitle.notes;
93
96
&note.clearstatcache;
...
...
@@ -104,7 +107,6 @@ Array
104
107
</refsect1>
105
108

106
109
</refentry>
107
-

108
110
<!-- Keep this comment at the end of the file
109
111
Local variables:
110
112
mode: sgml
111
113