RGtk2 (version 2.20.31)

GUnixInputStream: GUnixInputStream

Description

Streaming input operations for UNIX file descriptors

Arguments

Hierarchy

GObject
   +----GInputStream
         +----GUnixInputStream

Detailed Description

GUnixInputStream implements \link{GInputStream} for reading from a UNIX file descriptor, including asynchronous operations. The file descriptor must be selectable, so it doesn't work with opened files. Note that ‘’ belongs to the UNIX-specific GIO interfaces, thus you have to use the ‘gio-unix-2.0.pc’ pkg-config file when using it.

Properties

close-fd [logical : Read / Write]
Whether to close the file descriptor when the stream is closed. Default value: TRUE Since 2.20
fd [integer : Read / Write / Construct Only]
The file descriptor that the stream reads from. Default value: -1 Since 2.20

References

http://library.gnome.org/devel//gio/GUnixInputStream.html