reference/filesystem/functions/linkinfo.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -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.linkinfo">
3
+
<refentry xml:id="function.linkinfo" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>linkinfo</refname>
6
6
<refpurpose>Gets information about a link</refpurpose>
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>linkinfo</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>linkinfo</methodname>
13
13
<methodparam><type>string</type><parameter>path</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -43,32 +43,8 @@
43
43
<para>
44
44
<function>linkinfo</function> returns the <literal>st_dev</literal> field
45
45
of the Unix C stat structure returned by the <literal>lstat</literal>
46
-
system call. Returns 0 or &false; in case of error.
47
-
</para>
48
-
</refsect1>
49
-

50
-
<refsect1 role="changelog">
51
-
&reftitle.changelog;
52
-
<para>
53
-
<informaltable>
54
-
<tgroup cols="2">
55
-
<thead>
56
-
<row>
57
-
<entry>&Version;</entry>
58
-
<entry>&Description;</entry>
59
-
</row>
60
-
</thead>
61
-
<tbody>
62
-
<row>
63
-
<entry>5.3.0</entry>
64
-
<entry>
65
-
This function is now available on Windows platforms (Vista, Server
66
-
2008 or greater).
67
-
</entry>
68
-
</row>
69
-
</tbody>
70
-
</tgroup>
71
-
</informaltable>
46
+
system call. Returns a non-negative integer on success, -1 in case the link was not found,
47
+
or &false; if an open.base_dir violation occurs.
72
48
</para>
73
49
</refsect1>
74
50

...
...
@@ -102,7 +78,6 @@ echo linkinfo('/vmlinuz'); // 835
102
78
</refsect1>
103
79

104
80
</refentry>
105
-

106
81
<!-- Keep this comment at the end of the file
107
82
Local variables:
108
83
mode: sgml
109
84