Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GPollFD Struct Reference

#include <gpoll.h>

Data Fields

gint fd
 
gushort events
 
gushort revents
 

Detailed Description

GPollFD: @fd: the file descriptor to poll (or a HANDLE on Win32) @events: a bitwise combination 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. @revents: a bitwise combination of flags from GIOCondition, returned from the poll() function to indicate which events occurred.

Represents a file descriptor, which events to poll for, and which events occurred.

Definition at line 93 of file gpoll.h.

Field Documentation

◆ events

gushort _GPollFD::events

Definition at line 102 of file gpoll.h.

◆ fd

gint _GPollFD::fd

Definition at line 100 of file gpoll.h.

◆ revents

gushort _GPollFD::revents

Definition at line 103 of file gpoll.h.


The documentation for this struct was generated from the following file: