Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Stdio
Stdio.Fd

Method Stdio.Fd()->fd_factory()


Method fd_factory

Fd fd_factory()

Description

Factory creating Stdio.Fd objects.

This function is called by openat() , pipe() , dup() and other functions creating new file objects.

The default implementation calls object_program(this_object())() to create the new object, and returns the Fd inherit in it.

Note

Note that this function must return the Fd inherit in the object.

See also

Stdio.Port()->fd_factory() , openat() , pipe()