Keil Logo


4.11 _getenv_init()

Defined in rt_misc.h, the _getenv_init() function enables a user version of getenv() to initialize itself.

This function is not part of the C library standard, but the ARM® C library supports it as an extension.


void _getenv_init(void);


If this function is defined, the C library initialization code calls it when the library is initialized, that is, before main() is entered.
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.