Searched refs:nenv (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | env.c | 102 char **nenv; in set_smf_env() local 116 nenv = malloc(sizeof (char *) * nenv_size); in set_smf_env() 117 if (nenv == NULL) in set_smf_env() 119 (void) memset(nenv, 0, sizeof (char *) * nenv_size); in set_smf_env() 121 np = nenv; in set_smf_env() 159 if ((dup_pos = find_dup(*p, nenv, instance->fmri, in set_smf_env() 176 return (nenv); in set_smf_env() 178 p = nenv; in set_smf_env() 181 free(nenv); in set_smf_env()
|
/titanic_41/usr/src/lib/libdll/common/ |
H A D | dllopen.c | 47 char* nenv[2]; 54 nenv[0] = nenv[1] = 0; 55 environ = nenv; 74 if (environ == nenv)
|
/titanic_41/usr/src/cmd/svc/startd/ |
H A D | env.c | 260 char **nenv; in set_smf_env() local 271 nenv = startd_zalloc(sizeof (char *) * nenv_size); in set_smf_env() 273 np = nenv; in set_smf_env() 326 if ((dup_pos = find_dup(*p, nenv, inst)) != NULL) { in set_smf_env() 341 return (nenv); in set_smf_env()
|
H A D | fork.c | 623 char **nenv; in fork_rc_script() local 690 nenv = set_smf_env(NULL, 0, pathenv, NULL, NULL); in fork_rc_script() 692 (void) execle(path, path, arg, 0, nenv); in fork_rc_script()
|
H A D | method.c | 450 char **nenv; in exec_method() local 592 nenv = set_smf_env(mcp->env, mcp->env_sz, NULL, inst, in exec_method() 597 (void) execle(SBIN_SH, SBIN_SH, "-c", cmd, NULL, nenv); in exec_method()
|
/titanic_41/usr/src/cmd/ps/ |
H A D | ucbps.c | 650 int nenv = NARG; in preadenvs() local 672 if (nenv == NARG) { in preadenvs() 692 nenv = 0; in preadenvs() 694 if ((envoff = envp[nenv++]) == 0) in preadenvs()
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 81 char *nenv[] = { variable 104 environ = nenv;
|
/titanic_41/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 194 int nenv; \
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 3059 int nenv = NARG; in Penv_iter() local 3094 if (nenv == NARG) { in Penv_iter() 3114 nenv = 0; in Penv_iter() 3117 if ((envoff = envp[nenv++]) == NULL) in Penv_iter()
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | name.c | 1965 namec += shp->nenv; in sh_envgen() 1967 data.argnam = (er+=2) + shp->nenv; in sh_envgen() 1968 if(shp->nenv) in sh_envgen() 1969 memcpy((void*)er,environ,shp->nenv*sizeof(char*)); in sh_envgen()
|
H A D | init.c | 1743 ep[-1] = environ[shp->nenv]; in env_init() 1744 environ[shp->nenv++] = cp; in env_init()
|