Keil Logo


4.24 __rt_errno_addr()

The __rt_errno_addr() function is called to get the address of the C library errno variable when the C library attempts to read or write errno.


volatile int *__rt_errno_addr(void);


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 the ARM® C library supports it as an extension.


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().
Non-ConfidentialPDF file icon PDF versionARM DUI0378H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  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.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.