Home
last modified time | relevance | path

Searched refs:oldenv (Results 1 – 2 of 2) sorted by relevance

/freebsd/sbin/reboot/
H A Dreboot.c205 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 Dkern_environment.c631 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