gtkc.glibtypes.GPollFD Struct Reference

List of all members.

Detailed Description

gint fd; the file descriptor to poll (or a HANDLE on Win32 platforms).

gushort events; a bitwise combination of flags from GIOCondition, specifying which events should be polled for. Typically for reading from a file descriptor you would use G_IO_IN | G_IO_HUP | G_IO_ERR, and for writing you would use G_IO_OUT | G_IO_ERR. gushort revents; a bitwise combination of flags from GIOCondition, returned from the poll() function to indicate which events occurred.


Public Attributes

int fd
ushort events
ushort revents


Member Data Documentation

ushort gtkc.glibtypes.GPollFD.events

int gtkc.glibtypes.GPollFD.fd

ushort gtkc.glibtypes.GPollFD.revents


SourceForge.net Logo DSource.org Logo digitalmars.com Logo