GLib.PollFD – glib-2.0 Reference Manual
PollFD
Object Hierarchy:
GLib.PollFD
GLib.PollFD
GLib.PollFD
Description:
[
CCode
( type_id =
"G_TYPE_POLLFD"
) ]
public
struct
PollFD
Represents a file descriptor, which events to poll for, and which events occurred.
Namespace:
GLib
Package:
glib-2.0
Content:
Constants:
public
const
string
FORMAT
A format specifier that can be used in
printf
-style format strings when printing the
fd
member of a
PollFD
.
Methods:
public
string
to_string
(
string
format =
"%"
+
FORMAT
)
Fields:
public
int
fd
public
IOCondition
events
public
IOCondition
revents
2022 vala-language.org