Back to index

glibc  2.9
Functions
fgetexcptflg.c File Reference
#include <fenv.h>
#include <bp-sym.h>
#include <shlib-compat.h>

Go to the source code of this file.

Functions

int __fegetexceptflag (fexcept_t *flagp, int excepts)
 versioned_symbol (libm, BP_SYM(__fegetexceptflag), BP_SYM(fegetexceptflag), GLIBC_2_2)

Function Documentation

int __fegetexceptflag ( fexcept_t flagp,
int  excepts 
)

Definition at line 25 of file fgetexcptflg.c.

{
  fexcept_t temp;

  /* Get the current exceptions.  */
  __asm__ ("fnstsw %0" : "=m" (*&temp));

  *flagp = temp & excepts & FE_ALL_EXCEPT;

  /* Success.  */
  return 0;
}

Here is the call graph for this function:

versioned_symbol ( libm  ,
BP_SYM(__fegetexceptflag ,
BP_SYM(fegetexceptflag ,
GLIBC_2_2   
)