GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Functions
gp_widget_poll.h File Reference

Add file descriptors to the widget main loop. More...

#include <utils/gp_poll.h>

Go to the source code of this file.

Functions

void gp_widget_poll_add (gp_fd *fd)
 Inserts a file descriptor to the widget main loop.
 
void gp_widget_poll_rem (gp_fd *fd)
 Removes a file descriptor from the widget main loop.
 
gp_fdgp_widget_poll_rem_by_fd (int fd)
 Looks up a fd struture by a file descriptor.
 

Detailed Description

Add file descriptors to the widget main loop.

Definition in file gp_widget_poll.h.

Function Documentation

◆ gp_widget_poll_add()

void gp_widget_poll_add ( gp_fd fd)

Inserts a file descriptor to the widget main loop.

Parameters
fdA poll fd structure.

◆ gp_widget_poll_rem()

void gp_widget_poll_rem ( gp_fd fd)

Removes a file descriptor from the widget main loop.

Parameters
fdA poll fd structure.

◆ gp_widget_poll_rem_by_fd()

gp_fd * gp_widget_poll_rem_by_fd ( int  fd)

Looks up a fd struture by a file descriptor.

Parameters
fdA file descriptor.
Returns
A poll fd structure.