#include <sys/types.h>
Go to the source code of this file.
Data Structures |
| struct | _InputHandler |
Defines |
| #define | XActivity 1 |
| #define | StdinActivity 2 |
Typedefs |
| typedef void(* | InputHandlerProc )(void *userData) |
| typedef struct _InputHandler | InputHandler |
Functions |
| InputHandler * | initStdinHandler (void) |
| void | consoleInputHandler (unsigned char *buf, int len) |
| InputHandler * | addInputHandler (InputHandler *handlers, int fd, InputHandlerProc handler, int activity) |
| InputHandler * | getInputHandler (InputHandler *handlers, int fd) |
| int | removeInputHandler (InputHandler **handlers, InputHandler *it) |
| InputHandler * | getSelectedHandler (InputHandler *handlers, fd_set *mask) |
| fd_set * | R_checkActivity (int usec, int ignore_stdin) |
| fd_set * | R_checkActivityEx (int usec, int ignore_stdin, void(*intr)(void)) |
| void | R_runHandlers (InputHandler *handlers, fd_set *mask) |
| int | R_SelectEx (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout, void(*intr)(void)) |
Variables |
| InputHandler * | R_InputHandlers |
| void(* | R_PolledEvents )(void) |
| int | R_wait_usec |
Define Documentation
Typedef Documentation
Function Documentation
| int R_SelectEx |
( |
int |
n, |
|
|
fd_set * |
readfds, |
|
|
fd_set * |
writefds, |
|
|
fd_set * |
exceptfds, |
|
|
struct timeval * |
timeout, |
|
|
void(*)(void) |
intr |
|
) |
| |
Variable Documentation