Send asynchronous notifications to Screen.
#include <screen/screen.h>
int screen_notify(screen_context_t ctx, int flags, const void *obj, const struct sigevent *event)
The handle of the context of the notification.
The type of notification that you want to be notified of. Valid notification types are of type Screen notification flag types.
The object within the specified context that the notification is for. For example, this object could be a window, or a display, etc.
The notification.
Function Type: Immediate Execution
This function sends an asynchronous event to Screen. For security reasons, the notification is sent without its associated data.
0 if , or -1 if an error occurred (errno is set; refer to /usr/include/errno.h for more details).