Extracted from Pike v7.3 release 53 at 2002-09-10.
pike.ida.liu.se
[Top]
Gz
Gz.gzip_file

Method Gz.gzip_file()->open()


Method open

int open(string|int file, void|string mode)

Description

Opens a file for I/O.

Parameter file

The filename or an open filedescriptor for the GZip file to open.

Parameter mode

Mode for the fileoperations. Defaults to read only.

Note

If the object represents a file, it will first be closed.