Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

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