Commit 22eb774e authored by Mathias Hasselmann's avatar Mathias Hasselmann Committed by Mathias Hasselmann
Browse files

add IOChannel.unix_new and unix_get_fd

2007-08-07  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

	* vapi/glib-2.0.vala: add IOChannel.unix_new and unix_get_fd

svn path=/trunk/; revision=436
parent ce7a3fba
2007-08-07 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: add IOChannel.unix_new and unix_get_fd
2007-08-07 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: fix Pid handling
......
......@@ -1014,6 +1014,9 @@ namespace GLib {
[ReferenceType (dup_function = "g_io_channel_ref", free_function = "g_io_channel_unref")]
public struct IOChannel {
public IOChannel.file (string! filename, string! mode) throws FileError;
[CCode (cname = "g_io_channel_unix_new")]
public IOChannel.unix_new (int fd);
public int unix_get_fd ();
public IOStatus read_chars (string! buf, ulong count, out ulong bytes_read) throws ConvertError, IOChannelError;
public IOStatus read_unichar (out unichar thechar) throws ConvertError, IOChannelError;
public IOStatus read_line (out string str_return, out ulong length, out ulong terminator_pos) throws ConvertError, IOChannelError;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment