/* Get floating-point exceptions.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1999.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#include <fenv.h>
int
fegetexcept (void)
{
- /* Signal failure. */
- return -1;
+ /* All exception traps are disabled. */
+ return 0;
}
stub_warning (fegetexcept)
-#include <stub-tag.h>