Class Stdio.FakeFile

Annotations
@Pike.Annotations.Implements(Stdio.BlockFile)
@Pike.Annotations.Implements(Stdio.NonblockingStream)
Description

A string wrapper that pretends to be a Stdio.File object in addition to some features of a Stdio.FILE object.


Constant is_fake_file

constant int Stdio.FakeFile.is_fake_file

Description

This constant can be used to distinguish a FakeFile object from a real Stdio.File object.


Method create

Stdio.FakeFile Stdio.FakeFile(string data, void|string type, void|int pointer)

See also

Stdio.File()->create()