screen_notify()

Send asynchronous notifications to Screen.

Synopsis:

#include <screen/screen.h>
 
int screen_notify(screen_context_t ctx,
                  int flags,
                  const void *obj,
                  const struct sigevent *event)

Arguments:

ctx

The handle of the context of the notification.

flags

The type of notification that you want to be notified of. Valid notification types are of type Screen notification flag types.

obj

The object within the specified context that the notification is for. For example, this object could be a window, or a display, etc.

event

The notification.

Library:

libscreen

Description:

Function Type: Immediate Execution

This function sends an asynchronous event to Screen. For security reasons, the notification is sent without its associated data.

Returns:

0 if , or -1 if an error occurred (errno is set; refer to /usr/include/errno.h for more details).