IO.__t_readFile.3kaya

Langue: en

Version: May 2010 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

IO::__t_readFile - Read a text file.

SYNOPSIS

Builtins::Tainted<String> __t_readFile( String fname )

ARGUMENTS

fname A file name

DESCRIPTION

Reads the entire contents of fname into a String. This function assumes that the file is a text file, rather than a binary file.

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.

Binary.readBlock(3kaya)

IO.writeFile(3kaya)