
• NOTICE_TRIGGERED if a trigger was used.
• NOTICE_FAILED if the notice failed to pop up.
int
notice_prompt(window, event, attributes)
XV_Window window;
Event *event;
attribute-list
attributes;
notify_default_wait3()
Predefined function you can register with the Notifier via the
notify_set_wait3_func() call. Causes the required housekeeping to be per-
formed on the process identified by pid when it dies. See the wait(2) man page for
details of the wait and rusage structures.
Notify_value
notify_default_wait3(client, pid, status, rusage)
Notify_client client;
int pid;
int *status;
struct rusage *rusage;
notify_dispatch()
Provided to allow programs which are not notification-based to run in an event-driven
environment. Called regularly from within the application’s main loop to allow the
Notifier to go once around its internal loop and dispatch any pending events.
Notify_error
notify_dispatch()
notify_do_dispatch()
Enables implicit dispatching, in which the Notifier dispatches events from within calls
to read(2) or select(2).
Notify_error
notify_do_dispatch()
notify_enable_rpc_svc()
If you use an RPC server that also needs to work with XView, use the XView function
notify_enable_rpc_svc(), and do not call svc_run(). This function takes
an int that tells the notifier whether it should handle RPC requests.
Using this aproach, xv_main_loop() handles incoming RPC requests; dispatching
them just as if svc_run() had been ...