Back to index

glibc  2.9
Functions
fegetenv.c File Reference
#include <fenv.h>
#include <string.h>

Go to the source code of this file.

Functions

int fegetenv (fenv_t *envp)

Function Documentation

int fegetenv ( fenv_t envp)

Definition at line 25 of file fegetenv.c.

{
  unsigned long long buf[4], *bufptr = buf;
  
  __asm__ (
          "fstd,ma %%fr0,8(%1)     \n\t"
          "fldd -8(%1),%%fr0       \n\t"
          : "=m" (buf), "+r" (bufptr) : : "%r0");
  memcpy(envp, buf, sizeof (*envp));
  return 0;
}

Here is the call graph for this function: