Set entire environment.
The fesetenv function attempts to establish the floating-point environment represented by the object pointed to by envp. The argument envp shall point to an object set by a call to fegetenv or feholdexcept, or equal a floating-point environment macro. Note that fesetenv merely installs the state of the floating-point status flags represented through its argument, and does not raise these floating-point exceptions.
- Parameters
-
envp | Pointer to struct from where environment will read environment. |
- Returns
- Function returns zero if the environment was successfully wrote. Otherwise, it returns a nonzero value.