ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Functions | |
int | BlockEnvToEnvironA (void) |
int | BlockEnvToEnvironW (void) |
char ** | DuplicateEnvironment (char **original_environment, int wide) |
void | FreeEnvironment (char **environment) |
int | SetEnv (const wchar_t *option) |
int * | __p__commode (void) |
void | __set_app_type (int app_type) |
char ** | __p__acmdln (void) |
wchar_t ** | __p__wcmdln (void) |
char *** | __p__environ (void) |
wchar_t *** | __p__wenviron (void) |
char *** | __p___initenv (void) |
wchar_t *** | __p___winitenv (void) |
errno_t | _get_osplatform (unsigned int *pValue) |
int * | __p___mb_cur_max (void) |
int CDECL | ___mb_cur_max_func (void) |
unsigned int * | __p__osver (void) |
char ** | __p__pgmptr (void) |
int | _get_pgmptr (char **p) |
wchar_t ** | __p__wpgmptr (void) |
int | _get_wpgmptr (WCHAR **p) |
unsigned int * | __p__winmajor (void) |
unsigned int * | __p__winminor (void) |
unsigned int * | __p__winver (void) |
Variables | |
unsigned int | _osplatform = 0 |
unsigned int | _osver = 0 |
unsigned int | _winminor = 0 |
unsigned int | _winmajor = 0 |
unsigned int | _winver = 0 |
unsigned int | __setlc_active = 0 |
unsigned int | __unguarded_readlc_active = 0 |
char * | _acmdln = NULL |
wchar_t * | _wcmdln = NULL |
char ** | _environ = NULL |
wchar_t ** | _wenviron = NULL |
char ** | __initenv = NULL |
wchar_t ** | __winitenv = NULL |
char * | _pgmptr = NULL |
wchar_t * | _wpgmptr = NULL |
int | __app_type = _UNKNOWN_APP |
int | _commode |
Definition at line 400 of file environ.c.
Referenced by Test___initenv().
Definition at line 430 of file environ.c.
Referenced by Test___mb_cur_max().
Definition at line 408 of file environ.c.
Referenced by Test___winitenv().
Definition at line 368 of file environ.c.
Referenced by ok_argsA_imp(), and Test__acmdln().
Definition at line 352 of file environ.c.
Referenced by Test__commode().
Definition at line 384 of file environ.c.
Referenced by getenv(), and Test__environ().
Definition at line 446 of file environ.c.
Referenced by Test__osver().
Definition at line 454 of file environ.c.
Referenced by Test__pgmptr().
Definition at line 376 of file environ.c.
Referenced by ok_argsW_imp(), and Test__wcmdln().
Definition at line 392 of file environ.c.
Referenced by _wgetenv(), and Test__wenviron().
Definition at line 500 of file environ.c.
Referenced by Test__winmajor().
Definition at line 508 of file environ.c.
Referenced by Test__winminor().
Definition at line 516 of file environ.c.
Referenced by Test__winver().
Definition at line 477 of file environ.c.
Referenced by Test__wpgmptr().
Definition at line 34 of file environ.c.
Referenced by crt_process_init(), and DllMain().
Definition at line 86 of file environ.c.
Referenced by crt_process_init(), and DllMain().
Internal function to duplicate environment block. Although it's parameter are defined as char**, it's able to work also with wide character environment block which are of type wchar_t**.
original_environment | Environment to duplicate. |
wide | Set to zero for multibyte environments, non-zero otherwise. |
Definition at line 151 of file environ.c.
Referenced by SetEnv().
Internal function to deallocate environment block. Although it's parameter are defined as char**, it's able to work also with wide character environment block which are of type wchar_t**.
environment | Environment to free. |
Definition at line 190 of file environ.c.
Referenced by crt_process_init(), DllMain(), and msvcrt_init_exception().
Internal version of _wputenv and _putenv. It works duplicates the original envirnments created during initilization if needed to prevent having spurious pointers floating around. Then it updates the internal environment tables (_environ and _wenviron) and at last updates the OS environemnt.
Note that there can happen situation when the internal [_w]environ arrays will be updated, but the OS environment update will fail. In this case we don't undo the changes to the [_w]environ tables to comply with the Microsoft behaviour (and it's also much easier :-).
Definition at line 210 of file environ.c.
Referenced by _putenv(), and _wputenv().
int __app_type = _UNKNOWN_APP |
Definition at line 30 of file environ.c.
Referenced by __set_app_type(), _assert(), and abort().
Definition at line 24 of file environ.c.
Referenced by __p___initenv(), BlockEnvToEnvironA(), DllMain(), msvcrt_init_exception(), SetEnv(), and Test___initenv().
Definition at line 16 of file environ.c.
Referenced by ___setlc_active_func(), and Test___setlc_active().
Definition at line 17 of file environ.c.
Referenced by ___unguarded_readlc_active_add_func(), and Test___unguarded_readlc_active().
Definition at line 25 of file environ.c.
Referenced by __p___winitenv(), __wgetmainargs(), BlockEnvToEnvironW(), DllMain(), msvcrt_init_exception(), SetEnv(), and Test___winitenv().
Definition at line 18 of file environ.c.
Referenced by __getmainargs(), __p__acmdln(), crt_process_init(), DllMain(), and Test__acmdln().
int _commode |
Definition at line 31 of file environ.c.
Referenced by __p__commode(), msvcrt_get_flags(), and Test__commode().
Definition at line 22 of file environ.c.
Referenced by __getmainargs(), __p__environ(), BlockEnvToEnvironA(), crt_process_init(), DllMain(), msvcrt_init_exception(), SetEnv(), and Test__environ().
Definition at line 10 of file environ.c.
Referenced by _get_osplatform(), crt_process_init(), DllMain(), and Test__osplatform().
Definition at line 11 of file environ.c.
Referenced by __p__osver(), crt_process_init(), DllMain(), and Test__osver().
Definition at line 27 of file environ.c.
Referenced by __getmainargs(), __p__pgmptr(), _get_pgmptr(), and Test__pgmptr().
Definition at line 19 of file environ.c.
Referenced by __p__wcmdln(), __wgetmainargs(), crt_process_init(), DllMain(), and Test__wcmdln().
Definition at line 23 of file environ.c.
Referenced by __p__wenviron(), BlockEnvToEnvironW(), DllMain(), msvcrt_init_exception(), SetEnv(), and Test__wenviron().
Definition at line 13 of file environ.c.
Referenced by __p__winmajor(), crt_process_init(), DllMain(), and Test__winmajor().
Definition at line 12 of file environ.c.
Referenced by __p__winminor(), crt_process_init(), DllMain(), and Test__winminor().
Definition at line 14 of file environ.c.
Referenced by __p__winver(), crt_process_init(), DllMain(), and Test__winver().
Definition at line 29 of file environ.c.
Referenced by __p__wpgmptr(), __wgetmainargs(), _get_wpgmptr(), and Test__wpgmptr().