Date: 07/31/00
- Next message: Monte Ohrt: "[PHP-DOC] cvs: phpdoc /en/functions pcre.xml"
- Previous message: Hojtsy Gabor: "[PHP-DOC] filepro titleabbrev missing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
danbeck Mon Jul 31 07:41:42 2000 EDT
Modified files:
/phpdoc/en/functions filesystem.xml
Log:
added fstat function, man there are a lot of missing function docs. =)
Index: phpdoc/en/functions/filesystem.xml
diff -u phpdoc/en/functions/filesystem.xml:1.23 phpdoc/en/functions/filesystem.xml:1.24
--- phpdoc/en/functions/filesystem.xml:1.23 Tue Jul 11 13:06:21 2000
+++ phpdoc/en/functions/filesystem.xml Mon Jul 31 07:41:42 2000
@@ -1280,6 +1280,53 @@
</refsect1>
</refentry>
+ <refentry id="function.fstat">
+ <refnamediv>
+ <refname>fstat</refname>
+ <refpurpose>
+ Get information about a file using an open file pointer.
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>array <function>fstat</function></funcdef>
+ <paramdef>int <parameter>fp</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ Gathers the statistics of the file opened by the file
+ pointer fp. This function is similar to the
+ <function>stat</function> function except that it operates
+ on an open file pointer instead of a filename.
+ </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>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>
+ The results of this function are cached. See
+ <function>clearstatcache</function> for more details.
+ </para>
+ </refsect1>
+ </refentry>
+
<refentry id="function.ftell">
<refnamediv>
<refname>ftell</refname>
- Next message: Monte Ohrt: "[PHP-DOC] cvs: phpdoc /en/functions pcre.xml"
- Previous message: Hojtsy Gabor: "[PHP-DOC] filepro titleabbrev missing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

