Home
last modified time | relevance | path

Searched refs:initvar (Results 1 – 4 of 4) sorted by relevance

/external/toybox/toys/pending/
Dsh.c3476 static struct sh_vars *initvar(char *name, char *val) in initvar() function
3483 return initvar(name, (!val || !*val) ? def : val); in initvardef()
3620 initvar(magic[ii], "")->flags = VAR_MAGIC|(VAR_INT*('G'!=*magic[ii])); in subshell_setup()
3625 initvar("PATH", _PATH_DEFPATH); in subshell_setup()
3633 initvar("HOSTNAME", toybuf); in subshell_setup()
3635 initvar("HOSTTYPE", uu.machine); in subshell_setup()
3637 initvar("MACHTYPE", toybuf); in subshell_setup()
3638 initvar("OSTYPE", uu.sysname); in subshell_setup()
3641 initvar("OPTERR", "1"); // TODO: test if already exported? in subshell_setup()
3643 initvar("BASH", s); in subshell_setup()
[all …]
/external/mksh/src/
Dmain.c350 initvar(); in main_init()
Dvar.c135 initvar(void) in initvar() function
Dsh.h2740 void initvar(void);