Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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()