mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-19 10:28:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
74 lines
2.7 KiB
XML
74 lines
2.7 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.2 $ -->
|
|
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
|
<refentry id="function.lstat">
|
|
<refnamediv>
|
|
<refname>lstat</refname>
|
|
<refpurpose>Gives information about a file or symbolic link</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>array</type><methodname>lstat</methodname>
|
|
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Gathers the statistics of the file or symbolic link named by
|
|
filename. This function is identical to the
|
|
<function>stat</function> function except that if the
|
|
<parameter>filename</parameter> parameter is a symbolic link, the
|
|
status of the symbolic link is returned, not the status of the
|
|
file pointed to by the symbolic link.
|
|
</para>
|
|
<para>
|
|
Returns an array with the statistics of the file with the
|
|
following elements:
|
|
<orderedlist>
|
|
<listitem><simpara>device</simpara></listitem>
|
|
<listitem><simpara>inode</simpara></listitem>
|
|
<listitem><simpara>inode protection mode</simpara></listitem>
|
|
<listitem><simpara>number of links</simpara></listitem>
|
|
<listitem><simpara>user id of owner</simpara></listitem>
|
|
<listitem><simpara>group id owner</simpara></listitem>
|
|
<listitem><simpara>device type if inode device *</simpara></listitem>
|
|
<listitem><simpara>size in bytes</simpara></listitem>
|
|
<listitem><simpara>time of last access</simpara></listitem>
|
|
<listitem><simpara>time of last modification</simpara></listitem>
|
|
<listitem><simpara>time of last change</simpara></listitem>
|
|
<listitem><simpara>blocksize for filesystem I/O *</simpara></listitem>
|
|
<listitem><simpara>number of blocks allocated</simpara></listitem>
|
|
</orderedlist>
|
|
* - only valid on systems supporting the st_blksize type--other
|
|
systems (i.e. Windows) return -1.
|
|
</para>
|
|
<para>
|
|
<function>lstat</function> cannot be used on <link
|
|
linkend="features.remote-files">remote files</link>.
|
|
</para>
|
|
<para>
|
|
The results of this function are cached. See
|
|
<function>clearstatcache</function> for more details.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|