Keil Logo Arm Logo

__rt_errno_addr()

__rt_errno_addr()

This function is called to get the address of the C library errno variable when the C library attempts to read or write errno. The library provides a default implementation. It is unlikely that you have to reimplement this function.

This function is not part of the C library standard, but is supported by the ARM C library as an extension.

Note

This function is associated with pre-ABI versions of the compilation tools. However, it remains supported to ensure that object files compiled with those tools link successfully. Unless you are working with object files compiled with pre-ABI versions of the tools, use __aeabi_errno_addr() instead of __rt_errno_addr().

Show/hideSyntax

volatile int *__rt_errno_addr(void);
Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0589B
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.