mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 14:28:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@152924 c90b9560-bf6c-de11-be94-00142212c4b1
65 lines
2.2 KiB
XML
65 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<!-- splitted from ./en/functions/dio.xml, last change in rev 1.1 -->
|
|
<refentry id="function.dio-stat">
|
|
<refnamediv>
|
|
<refname>dio_stat</refname>
|
|
<refpurpose>
|
|
Gets stat information about the file descriptor fd
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>array</type><methodname>dio_stat</methodname>
|
|
<methodparam><type>resource</type><parameter>fd</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Function <function>dio_stat</function> returns information about
|
|
the file with file descriptor
|
|
<parameter>fd</parameter>. <function>dio_stat</function> returns
|
|
an associative array with the following keys:
|
|
<itemizedlist>
|
|
<listitem><para>"device" - device</para></listitem>
|
|
<listitem><para>"inode" - inode</para></listitem>
|
|
<listitem><para>"mode" - mode</para></listitem>
|
|
<listitem><para>"nlink" - number of hard links</para></listitem>
|
|
<listitem><para>"uid" - user id</para></listitem>
|
|
<listitem><para>"gid" - group id</para></listitem>
|
|
<listitem>
|
|
<para>
|
|
"device_type" - device type (if inode device)
|
|
</para>
|
|
</listitem>
|
|
<listitem><para>"size" - total size in bytes</para></listitem>
|
|
<listitem><para>"blocksize" - blocksize</para></listitem>
|
|
<listitem><para>"blocks" - number of blocks allocated</para></listitem>
|
|
<listitem><para>"atime" - time of last access</para></listitem>
|
|
<listitem><para>"mtime" - time of last modification</para></listitem>
|
|
<listitem><para>"ctime" - time of last change</para></listitem>
|
|
</itemizedlist>
|
|
On error <function>dio_stat</function> returns &null;.
|
|
</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
|
|
-->
|