1IO.file(3kaya)               Kaya module reference              IO.file(3kaya)
2
3
4

NAME

6       IO::file - Create a File from a pointer
7

SYNOPSIS

9       File file( Ptr ptr, [FileMode] mode=[Read, Write, Append] )
10

ARGUMENTS

12       ptr The pointer
13
14       mode The file mode, if known. This should be set if possible.
15

DESCRIPTION

17       This coerces a pointer to a C file handle into a File
18        This function is intended solely for writing interfaces to C code that
19       returns file handles, and should not be used for other purposes.
20

AUTHORS

22       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
23       (kaya@kayalang.org). For further information see http://kayalang.org/
24

LICENSE

26       The  Kaya  standard  library  is free software; you can redistribute it
27       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
28       License  (version  2.1  or  any later version) as published by the Free
29       Software Foundation.
30
32       IO.ptr (3kaya)
33
34
35
36Kaya                             December 2010                  IO.file(3kaya)
Impressum