You copied the Doc URL to your clipboard.

ARM Compiler ARM C and C++ Libraries and Floating-Point Support User Guide : _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.