Extracted from Pike v7.8 release 866 at 2018-02-02.
pike.ida.liu.se
[Top]
Stdio
Stdio.File

Method Stdio.File()->dup()


Method dup

File dup()

Description

This function returns a clone of Stdio.File with all variables copied from this file.

Note

All variables, even id, are copied.

See also

assign()


Method dup

Stdio.Fd dup()

Description

Duplicate the file.

See also

dup2()