ignerrno

Applies to C Applies to C++

Purpose

Allows the compiler to perform optimizations that assume errno is not modified by system calls.

Syntax


Syntax Diagram

See also #pragma options.

Notes

Some system library routines set errno when an exception occurs. This setting and subsequent side effects of errno may be ignored by specifying -qignerrno.

Specifying a -O3 or greater optimization option will also set -qignerrno. If you require both optimization and the ability to set errno, you should specify -qnoignerrno after the optimization option on the command line.

Related References

Compiler Command Line Options
O, optimize
#pragma options IBM Copyright 2003