### errno_name

Tells the optimizer how to find the errno identifier.

##### Syntax

#pragma errno_name id | ...

##### Targets

All platforms.

##### Remarks

When this pragma is used, the optimizer can use the identifier errno (either a macro or a function call) to optimize standard C library functions better. If not used, the optimizer makes worst-case assumptions about the effects of calls to the standard C library.

NOTE The MSL C library already includes a use of this pragma, so you would only need to use it for third-party C libraries.

If errno resolves to a variable name, specify it like this:

#pragma errno_name _Errno

If errno is a function call accessing ordinarily inaccessible globals, use this form:

#pragma errno_name ...

Otherwise, do not use this pragma as it can result in incorrect optimizations in your code.

This pragma does not correspond to any panel setting. By default, this pragma is unspecified (worst case assumption).