GUnixInputStream implements GInputStream for reading from a UNIX file descriptor, including asynchronous operations. (If the file descriptor refers to a socket or pipe, this will use poll() to do asynchronous I/O. If it refers to a regular file, it will fall back to doing asynchronous I/O in another thread.)
Note that <gio/gunixinputstream.h> belongs to the UNIX-specific GIO interfaces, thus you have to use the gio-unix-2.0.pc pkg-config file when using it.
Sets our main struct and passes it to the parent class.
Creates a new GUnixInputStream for the given fd.
Returns whether the file descriptor of stream will be closed when the stream is closed.
Return the UNIX file descriptor that the stream reads from.
the main Gtk struct as a void*
Get the main Gtk struct
Sets whether the file descriptor of stream shall be closed when the stream is closed.
the main Gtk struct