Provided by: kaya_0.4.4-6ubuntu3_amd64 

NAME
IO::file - Create a File from a pointer
SYNOPSIS
File file( Ptr ptr, [FileMode] mode=[Read, Write, Append] )
ARGUMENTS
ptr The pointer
mode The file mode, if known. This should be set if possible.
DESCRIPTION
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.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further
information see http://kayalang.org/
LICENSE
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.
RELATED
IO.ptr (3kaya)
Kaya July 2013 IO.file(3kaya)