| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Gz
Gz._file

# Method Gz._file()->open()

Method open

  `int open(string|int|Stdio.Stream file, void|string mode)`

Description

  Opens a file for I/O.

Parameter `file`

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

Parameter `mode`

  Mode for the fileoperations. Defaults to read only.

Note

  If the object already has been opened, it will first be closed.