Searched defs:envp (Results 1 - 25 of 79) sorted by relevance

1234

/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_getenv.c75 char **envp = environ; local
76 char *s = *envp++;
82 s = *envp++;
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Darch.c61 conv_check_native(char **argv, char **envp) argument
81 conv_check_native(char **argv, char **envp) argument
93 (void) isaexec(str, argv, envp);
/illumos-gate/usr/src/cmd/isaexec/
H A Disaexec.c38 main(int argc, char **argv, char **envp) argument
65 if (isaexec(execname, argv, envp) == -1) {
/illumos-gate/usr/src/ucbcmd/sbcp/
H A Dsbcp_util.c33 sbcp_init(int argc, char *argv[], char *envp[]) argument
42 p = (uintptr_t *)envp;
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmailq.c40 main(int argc, char *argv[], char *envp[]) argument
55 (void) execve(_PATH_SENDMAIL_BIN, newargv, envp);
/illumos-gate/usr/src/cmd/bnu/
H A Dmailst.c119 char **envp; local
121 envp = Env;
122 for ( ; *envp; envp++) {
123 if(PREFIX("LOGNAME", *envp)) {
125 envp[0] = &un[0];
/illumos-gate/usr/src/lib/efcode/extend/
H A Dfthread.c33 static int envp; variable
60 envp = (envp+1)%4;
61 env = envs[envp];
71 destroy_environment(envs[envp]);
72 envs[envp] = NULL;
74 envp = (envp+1)%4;
75 env = envs[envp];
90 envp
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Disaexec.c46 isaexec(const char *execname, char *const *argv, char *const *envp) argument
123 * using the user-supplied argv and envp.
125 (void) execve(pathname, argv, envp);
/illumos-gate/usr/src/lib/brand/sn1/sn1_brand/common/
H A Dsn1_brand.c82 brand_init(int argc, char *argv[], char *envp[]) argument
87 ldentry = brand_post_init(SN1_VERSION, argc, argv, envp);
/illumos-gate/usr/src/cmd/modload/
H A Dmodunload.c39 void exec_userfile(char *execfile, int id, char **envp);
48 main(int argc, char *argv[], char *envp[]) argument
80 exec_userfile(execfile, id, envp);
108 exec_userfile(char *execfile, int id, char **envp) argument
123 (void) execle(execfile, execfile, modid, mod0, NULL, envp);
H A Dmodload.c39 void l_exec_userfile(char *execfile, int id, char **envp);
49 main(int argc, char *argv[], char *envp[]) argument
109 l_exec_userfile(execfile, id, envp);
118 l_exec_userfile(char *execfile, int id, char **envp) argument
143 (void) execle(execfile, execfile, module_id, mod0, NULL, envp);
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Dmain.c50 main(int argc, char **argv, char **envp) argument
62 (void) conv_check_native(argv, envp);
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c56 main(int argc, char *argv[], char *envp[]) argument
154 envinit((uchar **)envp);
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_child.c66 char * const *envp, prb_proc_ctl_t **ret_val)
97 if (envp) {
98 env_to_use = envp;
64 prb_child_create(const char *cmdname, char * const *cmdargs, const char *loption, const char *libtnfprobe_path, char * const *envp, prb_proc_ctl_t **ret_val) argument
H A Dopen.c52 tnfctl_exec_open(const char *pgm_name, char * const *args, char * const *envp, argument
64 envp, &proc_p);
/illumos-gate/usr/src/cmd/uname/
H A Duname.c56 main(int argc, char *argv[], char *envp[]) argument
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb.c104 DB_ENV *envp, t_dbenv; local
517 envp = dbp->mp_dbenv;
522 envp = dbenv;
542 envp->mp_size = cachesize;
546 __db_omode("rw----"), envp, &dbp->mp)) != 0)
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dmain.c71 main(int argc, char **argv, char *envp[]) argument
82 (void) conv_check_native(argv, envp);
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dcrle.c113 main(int argc, char **argv, char **envp) argument
339 (void) conv_check_native(argv, envp);
/illumos-gate/usr/src/cmd/sgs/moe/common/
H A Dmoe.c158 main(int argc, char **argv, char **envp) argument
235 (void) conv_check_native(argv, envp);
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dmain.c96 main(int argc, char ** argv, char ** envp) argument
121 (void) conv_check_native(argv, envp);
/illumos-gate/usr/src/cmd/mailwrapper/
H A Dmailwrapper.c83 main(int argc, char *argv[], char *envp[]) argument
113 execve(_PATH_DEFAULTMTA, al.argv, envp);
163 execve(to, al.argv, envp);
/illumos-gate/usr/src/lib/libkvm/common/
H A Dkvm_getcmd.c88 char **envp = NULL; local
149 if (env && (envp = calloc(1, esize + sizeof (uintptr_t))) == NULL) {
157 * Walk up the 32-bit stack, filling in the 64-bit argv and envp
178 if (envp) {
180 envp[i] = (char *)(uintptr_t)(*(caddr32_t *)stackp);
183 envp[envc] = 0;
198 if (envp)
199 (void) memcpy(envp + eptrcount, (void *)stackp, strpoolsz);
206 * changes to the argv and envp arrays.
225 if (envp) {
269 char **envp = NULL; local
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate.c254 main(int argc, char *argv[], char *envp[]) argument
287 env = getenvent("LC_ALL=", envp);
290 env = getenvent("LC_COLLATE=", envp);
293 env = getenvent("LC_CTYPE=", envp);
296 env = getenvent("LC_MESSAGES=", envp);
299 env = getenvent("LC_NUMERIC=", envp);
302 env = getenvent("LC_TIME=", envp);
305 env = getenvent("LANG=", envp);
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dmain.c51 main(int argc, char ** argv, char ** envp) argument
62 (void) conv_check_native(argv, envp);

Completed in 61 milliseconds

1234