fp_flush_imprecise Subroutine
Purpose
Forces imprecise signal delivery.
Library
Standard C Library (libc.a)
Syntax
#include <fptrap.h>
void fp_flush_imprecise ()
Description
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 subroutine.
Example
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) ");