cvs: phpdoc /en/reference/zlib/functions gzseek.xml

From: Date: Tue, 20 Jan 2009 18:06:04 +0000
Subject: cvs: phpdoc /en/reference/zlib/functions gzseek.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3068@lists.php.net to get a copy of this message
felipe Tue Jan 20 18:06:04 2009 UTC Modified files: /phpdoc/en/reference/zlib/functions gzseek.xml Log: - Added missing optional parameter http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zlib/functions/gzseek.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/zlib/functions/gzseek.xml diff -u phpdoc/en/reference/zlib/functions/gzseek.xml:1.7 phpdoc/en/reference/zlib/functions/gzseek.xml:1.8 --- phpdoc/en/reference/zlib/functions/gzseek.xml:1.7 Wed Jun 20 22:25:40 2007 +++ phpdoc/en/reference/zlib/functions/gzseek.xml Tue Jan 20 18:06:03 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.gzseek" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>gzseek</refname> @@ -11,6 +11,7 @@ <type>int</type><methodname>gzseek</methodname> <methodparam><type>resource</type><parameter>zp</parameter></methodparam> <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>whence</parameter></methodparam> </methodsynopsis> <para> Sets the file position indicator for the given file pointer to the @@ -45,6 +46,22 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>whence</parameter></term> + <listitem> + <para> + <parameter>whence</parameter> values are: + <simplelist> + <member><constant>SEEK_SET</constant> - Set position equal to <parameter>offset</parameter> bytes.</member> + <member><constant>SEEK_CUR</constant> - Set position to current location plus <parameter>offset</parameter>.</member> + </simplelist> + </para> + <para> + If <parameter>whence</parameter> is not specified, it is assumed to be + <constant>SEEK_SET</constant>. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1>

« previous php.doc.cvs (#3068) next »