The Complete SPRLIB & ANNLIB

sigsegv_handler

- an SPRANNLIB replacement segmentation violation handler (LOCAL)

SYNOPSIS

void *sigsegv_handler ()

ARGUMENTS

None.

RETURNS

Nothing - it does not return.

FUNCTION

This is SPRANNLIB's segmentation violation handler replacement. It is called when the program receives a SIGSEGV signal, indicating some memory protection error. To facilitate debugging, this function will first call the status_monitor function before exiting with a return code 1. The call to this routine will print out information regarding all blocks of memory still in use.

NOTE

This function is only included when the SPRDEBUG compilation flag was set during the compilation of SPRANNLIB (see LIBRARY-flags).

SEE ALSO

MONITOR-ALLOCATION-functions, set_sigsegv_handler, reset_sigsegv_handler

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