Query: bzopen
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BZOPEN(3) 1 BZOPEN(3) bzopen - Opens a bzip2 compressed fileSYNOPSISresource bzopen (mixed $file, string $mode)DESCRIPTIONbzopen(3) opens a bzip2 (.bz2) file for reading or writing.PARAMETERSo $file - The name of the file to open, or an existing stream resource. o $mode - The modes 'r' (read), and 'w' (write) are supported. Everything else will cause bzopen(3) to return FALSE.RETURN VALUESIf the open fails, bzopen(3) returns FALSE, otherwise it returns a pointer to the newly opened file.EXAMPLESExample #1 bzopen(3) example <?php $file = "/tmp/foo.bz2"; $bz = bzopen($file, "r") or die("Couldn't open $file for reading"); bzclose($bz); ?>SEE ALSObzclose(3). PHP Documentation Group BZOPEN(3)
Related Man Pages |
---|
pristine-bz2(1) - debian |
bznew(1) - suse |
popen(3) - php |
dbase_open(3) - php |
dir(3) - php |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
UNIX.COM 2017 Year End Summary |
Status of UNIX.COM Forum Transformation |
Denial Of Service Attack Update |