Searched refs:newenv (Results 1 – 10 of 10) sorted by relevance
/titanic_41/usr/src/lib/libtnfctl/ |
H A D | prb_child.c | 89 char *newenv; in prb_child_create() local 109 newenv = (char *) malloc(strlen(PRELOAD) + in prb_child_create() 119 if (!newenv) in prb_child_create() 121 (void) strcpy(newenv, PRELOAD); in prb_child_create() 122 (void) strcat(newenv, "="); in prb_child_create() 123 (void) strcat(newenv, oldenv); in prb_child_create() 124 (void) strcat(newenv, " "); in prb_child_create() 126 (void) strcat(newenv, libtnfprobe_path); in prb_child_create() 127 (void) strcat(newenv, "/"); in prb_child_create() 129 (void) strcat(newenv, LIBPROBE); in prb_child_create() [all …]
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | putenv.c | 54 char **newenv; /* points to new environment */ in putenv() local 64 newenv = (char **)realloc(environ, in putenv() 66 if (newenv == NULL) return (-1); in putenv() 68 environ = newenv; in putenv() 72 newenv = (char **)malloc(which*sizeof(char *)); in putenv() 73 if (newenv == NULL) return (-1); in putenv() 74 (void)memcpy((char *)newenv, (char *)environ, in putenv() 76 environ = newenv; in putenv()
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | config.c | 46 char **newenv; variable 85 newenv = (char **) sm_malloc(sizeof(char *) * (envlen + 2)); 86 if (newenv == NULL) 90 (void) memcpy(newenv, environ, sizeof(char *) * envlen); 94 newenv = (char **) sm_realloc((char *) environ, 96 if (newenv == NULL) 101 environ = newenv;
|
/titanic_41/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 583 char **newenv; in approved_env() local 589 newenv = malloc(sizeof (*newenv) * (i + 1)); in approved_env() 590 if (newenv == NULL) in approved_env() 597 newenv[i_new++] = env[i]; in approved_env() 606 newenv[i_new++] = env[i]; in approved_env() 610 newenv[i_new] = NULL; in approved_env() 612 return (newenv); in approved_env() 621 char **newenv; in env_without_smf() local 627 newenv = malloc(sizeof (*newenv) * (i + 1)); in env_without_smf() 628 if (newenv == NULL) in env_without_smf() [all …]
|
/titanic_41/usr/src/cmd/allocate/ |
H A D | allocate.c | 232 char *newenv[] = {"PATH=/usr/bin:/usr/sbin", variable 289 newenv[env_num++] = env; in main() 292 newenv[env_num++] = env; in main() 295 newenv[env_num++] = env; in main() 298 newenv[env_num++] = env; in main() 301 newenv[env_num++] = env; in main() 304 newenv[env_num++] = env; in main() 307 newenv[env_num] = env; in main()
|
H A D | allocate3.c | 97 extern char *newenv[]; 977 (void) execle(path, cmd, mode, devname, NULL, newenv); in exec_clean()
|
/titanic_41/usr/src/cmd/sendmail/aux/ |
H A D | smrsh.c | 152 char *newenv[2]; local 166 newenv[0] = pathbuf; 167 newenv[1] = NULL; 432 (char *)NULL, newenv);
|
/titanic_41/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 383 int newenv = 0; in procopen() local 434 newenv = 1; in procopen() 631 if (newenv) in procopen() 642 if (!newenv && environ[0][0] == '_' && environ[0][1] == '=') in procopen()
|
/titanic_41/usr/src/cmd/login/ |
H A D | login.c | 232 static char *newenv[10+MAXARGS] = variable 234 static char **envinit = newenv; 2196 (void) memcpy(&envinit[basicenv], newenv, sizeof (newenv)); in establish_user_environment()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 2320 char **newenv = (char **) realloc((void *)script_env, local 2322 if (newenv == NULL) { 2326 script_env = newenv;
|