Back to index

glibc  2.9
Functions
fsetexcptflg.c File Reference
#include "soft-fp.h"
#include "soft-supp.h"
#include <bp-sym.h>
#include <shlib-compat.h>

Go to the source code of this file.

Functions

int __fesetexceptflag (const fexcept_t *flagp, int excepts)
 versioned_symbol (libm, BP_SYM(__fesetexceptflag), BP_SYM(fesetexceptflag), GLIBC_2_2)

Function Documentation

int __fesetexceptflag ( const fexcept_t flagp,
int  excepts 
)

Definition at line 26 of file fsetexcptflg.c.

{
  /* Ignore exceptions not listed in 'excepts'.  */
  __sim_exceptions = (__sim_exceptions & ~excepts) | (*flagp & excepts);

  return 0;
}
versioned_symbol ( libm  ,
BP_SYM(__fesetexceptflag ,
BP_SYM(fesetexceptflag ,
GLIBC_2_2   
)