From c4a1804e838743eb7120f36cc08003627cca6be4 Mon Sep 17 00:00:00 2001 From: Friedhelm Betz Date: Mon, 25 Mar 2002 13:52:58 +0000 Subject: [PATCH] small addition to resource type usage of this extension. changed the return type of bzopen to resource and the related function protos using this resource. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75150 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/bzip2.xml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/functions/bzip2.xml b/functions/bzip2.xml index f637200ed8..9732671334 100644 --- a/functions/bzip2.xml +++ b/functions/bzip2.xml @@ -1,5 +1,5 @@ - + Bzip2 Compression Functions Bzip2 @@ -38,7 +38,8 @@
Resource types - This extension does not define any resource types. + This extension defines one resource type: a file pointer identifying + the bz2-file to work on.
@@ -101,7 +102,7 @@ bzclose($bz); Description intbzclose - intbz + resourcebz Closes the bzip2 file referenced by the pointer bz. @@ -234,7 +235,7 @@ print( "\n
\n" ); Description intbzerrno - intbz + resourcebz Returns the error number of any bzip2 error returned by the file @@ -256,7 +257,7 @@ print( "\n
\n" ); Description arraybzerror - intbz + resourcebz Returns the error number and error string, in an associative array, @@ -294,7 +295,7 @@ echo $error["errstr"]; Description stringbzerrstr - intbz + resourcebz Returns the error string of any bzip2 error returned by the file @@ -316,7 +317,7 @@ echo $error["errstr"]; Description intbzflush - intbz + resourcebz Forces a write of all buffered bzip2 data for the file pointer @@ -340,7 +341,7 @@ echo $error["errstr"]; Description - intbzopen + resourcebzopen stringfilename stringmode @@ -388,7 +389,7 @@ print( $decompressed_file ); Description stringbzread - intbz + resourcebz intlength @@ -431,7 +432,7 @@ print( $str ); Description intbzwrite - intbz + resourcebz stringdata intlength