GPollableInputStreamInterface

The interface for pollable input streams. The default implementation of can_poll always returns TRUE. The default implementation of read_nonblocking calls g_pollable_input_stream_is_readable(), and then calls g_input_stream_read() if it returns TRUE. This means you only need to override it if it is possible that your is_readable implementation may return TRUE when the stream is not actually readable. GTypeInterface g_iface; The parent interface. can_poll () Checks if the GPollableInputStream instance is actually pollable is_readable () Checks if the stream is readable create_source () Creates a GSource to poll the stream read_nonblocking () Does a non-blocking read or returns G_IO_ERROR_WOULD_BLOCK Since 2.28

Members

Variables

canPoll
int function(GPollableInputStream* stream) canPoll;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
createSource
GSource* function(GPollableInputStream* stream, GCancellable* cancellable) createSource;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
gIface
GTypeInterface gIface;
Undocumented in source.
isReadable
int function(GPollableInputStream* stream) isReadable;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
readNonblocking
gssize function(GPollableInputStream* stream, void* buffer, gsize size, GError** error) readNonblocking;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta