Mercurial > irccd
view doc/html/api/module/Irccd.File/method/constructor.md @ 254:93a227277786
Irccd: various fixes for further cross-compilation
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 05 Sep 2016 12:53:13 +0200 |
parents | 12dfbec74a9c |
children | 904ee87bc808 |
line wrap: on
line source
--- method: constructor summary: "Open a file specified by path with the specified mode." synopsis: "Irccd.File(path, mode) /* constructor */" arguments: - "**path**: the path to the file," - "**mode**: the mode string." throws: "An [Irccd.SystemError](@baseurl@/api/module/Irccd/index.html#types) on failures." --- ## Mode The mode is the same as the `fopen(3)`, see the documentation of [std::fopen(3)][fopen] for more information about the mode string. [fopen]: http://en.cppreference.com/w/cpp/io/c/fopen