ReactOS
0.4.15-dev-2095-g7caf9e9
|
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 = _IOCOMMIT |
Definition at line 368 of file environ.c.
Referenced by ok_argsA_imp().
Definition at line 376 of file environ.c.
Referenced by ok_argsW_imp().
Definition at line 392 of file environ.c.
Referenced by _wgetenv().
Definition at line 34 of file environ.c.
Referenced by DllMain().
Definition at line 86 of file environ.c.
Referenced by 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 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(), and SetEnv().
Definition at line 16 of file environ.c.
Referenced by ___setlc_active_func().
Definition at line 17 of file environ.c.
Referenced by ___unguarded_readlc_active_add_func().
Definition at line 25 of file environ.c.
Referenced by __p___winitenv(), __wgetmainargs(), BlockEnvToEnvironW(), DllMain(), and SetEnv().
Definition at line 18 of file environ.c.
Referenced by __getmainargs(), __p__acmdln(), and DllMain().
Definition at line 31 of file environ.c.
Referenced by __p__commode(), and msvcrt_get_flags().
Definition at line 22 of file environ.c.
Referenced by __getmainargs(), __p__environ(), BlockEnvToEnvironA(), DllMain(), and SetEnv().
Definition at line 10 of file environ.c.
Referenced by _get_osplatform(), and DllMain().
Definition at line 11 of file environ.c.
Referenced by __p__osver(), and DllMain().
Definition at line 27 of file environ.c.
Referenced by __getmainargs(), __p__pgmptr(), and _get_pgmptr().
Definition at line 19 of file environ.c.
Referenced by __p__wcmdln(), __wgetmainargs(), and DllMain().
Definition at line 23 of file environ.c.
Referenced by __p__wenviron(), BlockEnvToEnvironW(), DllMain(), and SetEnv().
Definition at line 13 of file environ.c.
Referenced by __p__winmajor(), and DllMain().
Definition at line 12 of file environ.c.
Referenced by __p__winminor(), and DllMain().
Definition at line 14 of file environ.c.
Referenced by __p__winver(), and DllMain().
Definition at line 29 of file environ.c.
Referenced by __p__wpgmptr(), __wgetmainargs(), and _get_wpgmptr().