Skip to Main Content
Volume 7B: XView Reference Manual
book

Volume 7B: XView Reference Manual

by Dan Heller
September 1991
Intermediate to advanced content levelIntermediate to advanced
311 pages
7h 17m
English
O'Reilly Media, Inc.
Content preview from Volume 7B: XView Reference Manual
notify_set_destroy_func()
Registers destroy_func() with the Notifier. destroy_func() is called when a
destroy event is posted to client or when the process receives a SIGTERM signal.
Notify_func
notify_set_destroy_func(client, destroy_func)
Notify_client client;
Notify_func destroy_func;
The format for the destroy function is:
Notify_value
destroy_func(client, status)
Notify_client client;
Destroy_status status;
notify_set_event_func()
Registers the event handler event_func() with the Notifier.
Notify_error
notify_set_event_func(client, event_func, type)
Notify_client client;
Notify_func event_func;
Notify_event_type type;
type is either NOTIFY_SAFE or NOTIFY_IMMEDIATE.
The format for the event function is:
Notify_value
event_func(client, event, arg, type)
Notify_client client;
Notify_event event;
Notify_arg arg;
Notify_event_type type;
notify_set_exception_func()
Registers the exception handler exception_func() with the Notifier. The only
known devices that generate exceptions at this time are stream-based socket connec-
tions when an out-of-band byte is available.
Notify_func
notify_set_exception_func(client, exception_func, fd)
Notify_client client;
Notify_func exception_func;
int fd;
The format for the exception function is:
Notify_value
exception_func(client, fd)
Notify_client client;
int fd;
Procedures and Macros
Procedures and Macros 195
notify_set_input_func()
Registers input_func() with the Notifier. input_func() ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Gestion des couleurs pas à pas

Gestion des couleurs pas à pas

Jean Delmas
1,000 Garment Graphics

1,000 Garment Graphics

Jeffrey Everett

Publisher Resources

ISBN: 9780937175880