#include "inputstr.h"
#include "dmxinputinit.h"
#include "dmxsigio.h"
#include "dmxevents.h"
#include <signal.h>
#include <unistd.h>
#include <sys/fcntl.h>
Functions | |
void | dmxSigioBlock (void) |
void | dmxSigioUnblock (void) |
void | dmxSigioEnableInput (void) |
void | dmxSigioDisableInput (void) |
void | dmxSigioRegister (DMXInputInfo *dmxInput, int fd) |
void | dmxSigioUnregister (DMXInputInfo *dmxInput) |
|
Block SIGIO handling. |
|
Disable SIGIO handling. This removes the hanlder from the OS. |
|
Enable SIGIO handling. This instantiates the handler with the OS. |
|
Make a note that the input device described in dmxInput will be using the file descriptor fd for SIGIO signals. Calls AddEnabledDevice ifi SIGIO handling has been enabled with dmxSigioEnableInput(). |
|
Unblock SIGIO handling. |
|
Remove the notes that dmxInput is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice. |