xorriso
1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
![]() ![]() |
Go to the source code of this file.
Typedefs | |
typedef int(* | Cleanup_app_handler_T) (void *, int, int) |
Functions | |
int | Cleanup_set_handlers (void *handle, Cleanup_app_handler_T handler, int flag) |
typedef int(* Cleanup_app_handler_T) (void *, int, int) |
Layout of an application provided cleanup function using an application provided handle as first argument and the signal number as second argument. The third argument is a flag bit field with no defined bits yet. If the handler returns 2 or -2 then it has delegated exit() to some other instance and the Cleanup handler shall return rather than exit.
int Cleanup_set_handlers | ( | void * | handle, |
Cleanup_app_handler_T | handler, | ||
int | flag | ||
) |
Establish exiting signal handlers on (hopefully) all signals that are not ignored by default or non-catchable.
handle | Opaque object which knows how to cleanup application |
handler | Function which uses handle to perform application cleanup |
flag | Control Bitfield bit0= reset to default signal handling |
Definition at line 146 of file cleanup.c.
References cleanup_app_handle, cleanup_app_handler, Cleanup_handler_generic(), cleanup_msg, cleanup_perform_app_handler_first, Cleanup_signo_to_name(), non_signal_list, non_signal_list_count, signal_list, and signal_list_count.
Referenced by burn_builtin_abort_handler(), and burn_set_signal_handling().