Provided by: kaya_0.4.4-6ubuntu3_amd64
IO::file - Create a File from a pointer
File file( Ptr ptr, [FileMode] mode=[Read, Write, Append] )
ptr The pointer mode The file mode, if known. This should be set if possible.
This coerces a pointer to a C file handle into a File This function is intended solely for writing interfaces to C code that returns file handles, and should not be used for other purposes.
Kaya standard library by Edwin Brady, Chris Morris and others (firstname.lastname@example.org). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.