PR_SET_FPEXC
set the floating-point exception mode
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
set the floating-point exception mode
Standard C library (libc, -lc)
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h>
int prctl(PR_SET_FPEXC, unsigned long mode);
Set floating-point exception mode to mode, which can be one of the following values.
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
Linux. PowerPC only.
Linux 2.4.21, 2.5.32. (PowerPC)