The Complete SPRLIB & ANNLIB

reset_sigsegv_handler

- de-install the SPRANNLIB segmentation violation handler (LOCAL)

SYNOPSIS

int reset_sigsegv_handler ()

ARGUMENTS

None.

RETURNS

TRUE in case of an error, FALSE in case of succes.

FUNCTION

This function is called by the free_monitor function if the linked list of MALINFO elements becomes empty, indicating no memory has been allocated any more by any of the allocation monitor functions. It replaces SPRANNLIB's segmentation violation handler by the original function, a pointer to which has been stored in old_handler (see MONITOR-ALLOCATION-variables).

NOTE

This function is only called when the SPRDEBUG compilation flag was set during the compilation of SPRANNLIB (see LIBRARY-flags). It calls the standard signal function to accomplish this. The old_handler function pointer is reset to NULL.

SEE ALSO

MONITOR-ALLOCATION-functions, set_sigsegv_handler, sigsegv_handler

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998