UnixInputStream


Object Hierarchy:

GLib.UnixInputStream GLib.UnixInputStream GLib.UnixInputStream GLib.InputStream GLib.InputStream GLib.InputStream->GLib.UnixInputStream GLib.Object GLib.Object GLib.Object->GLib.InputStream GLib.PollableInputStream GLib.PollableInputStream GLib.PollableInputStream->GLib.UnixInputStream GLib.FileDescriptorBased GLib.FileDescriptorBased GLib.FileDescriptorBased->GLib.UnixInputStream

Description:


public class UnixInputStream : InputStream, PollableInputStream, FileDescriptorBased

`GUnixInputStream` implements [class@Gio.

InputStream] 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 or the `GioUnix-2.0` GIR namespace when using it.


Namespace: GLib
Package: gio-unix-2.0

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from interface GLib.PollableInputStream
All known members inherited from interface GLib.FileDescriptorBased