Updated: April 19, 2023 |
Register a sigevent for use with asynchronous notifications
#include <screen/screen.h>
int screen_register_event(screen_context_t ctx, struct sigevent *event)
Function Type: Immediate Execution
This function registers a sigevent with Screen so that screen_notify() can be used with the event; it's associated with the preprocessor definition screen_register_event.
0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).