Pike v8.0 release 1738

Method Bz2.File()->open()


Method open

bool open(string file, void|string mode)

Description

Opens a file for I/O.

Parameter file

The name of the file to be opened

Parameter mode

Mode for the file operations. Can be either "r" (read) or "w". Read is default.