Back to index

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

Go to the source code of this file.


int __feupdateenv (const fenv_t *envp)
 versioned_symbol (libm, BP_SYM(__feupdateenv), BP_SYM(feupdateenv), GLIBC_2_2)

Function Documentation

Definition at line 28 of file feupdateenv.c.

  int saved_exceptions;

  /* Save currently set exceptions.  */
  saved_exceptions = __sim_exceptions;

  /* Set environment.  */
  fesetenv (envp);

  /* Raise old exceptions.  */
  __sim_exceptions |= saved_exceptions;
  if (saved_exceptions & ~__sim_disabled_exceptions)
    raise (SIGFPE);

  return 0;

Here is the call graph for this function:

versioned_symbol ( libm  ,
BP_SYM(__feupdateenv ,
BP_SYM(feupdateenv ,