Forces imprecise signal delivery.
Standard C Library (libc.a)
#include <fptrap.h>
void fp_flush_imprecise ()
The fp_flush_imprecise subroutine forces any imprecise interrupts to be reported. To ensure that no signals are lost when a program voluntarily exits, use this subroutine in combination with the atexit (exit, atexit, _exit, or _Exit Subroutine) subroutine.
The following example illustrates using the atexit subroutine to run the fp_flush_imprecise subroutine before a program exits:
#include <fptrap.h> #include <stdlib.h> #include <stdio.h> if (0!=atexit(fp_flush_imprecise)) puts ("Failure in atexit(fp_flush_imprecise) ");
The atexit (exit, atexit, _exit, or _Exit Subroutine) subroutine, fp_any_enable, fp_is_enabled, fp_enable_all, fp_enable, fp_disable_all, or fp_disable (fp_any_enable, fp_is_enabled, fp_enable_all, fp_enable, fp_disable_all, or fp_disable Subroutine) subroutine, fp_clr_flag, fp_read_flag, fp_swap_flag, or fpset_flag (fp_clr_flag, fp_set_flag, fp_read_flag, or fp_swap_flag Subroutine) subroutine, fp_cpusync (fp_cpusync Subroutine) subroutine, fp_trap (fp_trap Subroutine) subroutine, sigaction subroutine.
Floating-Point Exceptions in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.