Searched refs:oldenv (Results 1 – 2 of 2) sorted by relevance
/freebsd/sbin/reboot/ |
H A D | reboot.c | 205 char *oldenv; in add_env() local 207 oldenv = *env; in add_env() 208 asprintf(env, "%s%s=\"%s\"\n", oldenv != NULL ? oldenv : "", key, value); in add_env() 211 free(oldenv); in add_env()
|
/freebsd/sys/kern/ |
H A D | kern_environment.c | 631 char *buf, *cp, *oldenv; in kern_setenv() 651 oldenv = kenvp[i]; in kern_setenv() 654 free(oldenv, M_KENV); in kern_setenv() 681 char *cp, *oldenv; in kern_unsetenv() 689 oldenv = kenvp[i]; in kern_unsetenv() 694 zfree(oldenv, M_KENV); in kern_unsetenv() 629 char *buf, *cp, *oldenv; kern_setenv() local 679 char *cp, *oldenv; kern_unsetenv() local
|