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 100073_0607_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.