Searched refs:envp (Results 1 - 25 of 102) sorted by relevance

12345

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.copyinto.d43 envp = alloca(sizeof (uint32_t));
44 copyinto(curpsinfo->pr_envp, sizeof (uint32_t), envp);
45 printf("envp[0] = \"%s\"", copyinstr(*(uint32_t *)envp));
52 envp = alloca(sizeof (uint64_t));
53 copyinto(curpsinfo->pr_envp, sizeof (uint64_t), envp);
54 printf("envp[0] = \"%s\"", copyinstr(*(uint64_t *)envp));
H A Dtst.copyin.d45 envp = *(uint32_t *)copyin(curpsinfo->pr_envp, sizeof (uint32_t));
46 printf("envp[0] = \"%s\"", copyinstr(envp));
53 envp = *(uint64_t *)copyin(curpsinfo->pr_envp, sizeof (uint64_t));
54 printf("envp[0] = \"%s\"", copyinstr(envp));
/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/libxcurses/src/libc/mks/
H A Dm_getenv.c75 char **envp = environ; local
76 char *s = *envp++;
82 s = *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/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/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/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/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/uts/sun4u/montecarlo/io/
H A Dpcf8574_nct.c765 envctrl_pwrsupp_t *envp = local
767 dev_presence = envp->ps_present;
771 envctrl_fantray_t *envp = local
773 dev_presence = envp->fan_present;
800 envctrl_pwrsupp_t *envp = local
808 envp->ps_ok = PCF8574_PS_FAULT(value);
809 envp->temp_ok = PCF8574_PS_TEMPOK(value);
810 envp->psfan_ok = PCF8574_PS_FANOK(value);
811 envp->on_state = PCF8574_PS_ONOFF(value);
812 envp
833 envctrl_fantray_t *envp = local
1230 envctrl_pwrsupp_t *envp; local
1270 envctrl_fantray_t *envp; local
1504 envctrl_cpuvoltage_t *envp = local
1513 envctrl_pwrsupp_t *envp = local
1529 envctrl_fantray_t *envp = local
1742 envctrl_pwrsupp_t *envp; local
1762 envctrl_fantray_t *envp; local
1835 envctrl_pwrsupp_t *envp = local
1852 envctrl_fantray_t *envp = local
[all...]
/illumos-gate/usr/src/lib/brand/shared/brand/i386/
H A Dcrt.s42 * brand_init(int argc, char *argv[], char *envp[])
62 * Calculate the location of the envp array by adding the size of
67 leal 16(%ebp,%eax,4), %ecx / envp in %ecx
69 pushl %ecx / push envp (3rd param)
/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/isaexec/
H A Disaexec.c38 main(int argc, char **argv, char **envp) argument
65 if (isaexec(execname, argv, envp) == -1) {
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dxa_ext.h6 int __db_rmid_to_env __P((int rmid, DB_ENV **envp, int open_ok));
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_config.c435 ndmp_pval *envp = envs; local
450 NDMP_SETENV(envp, "PREFIX", "");
451 NDMP_SETENV(envp, "TYPE", "");
452 NDMP_SETENV(envp, "DIRECT", "n");
453 NDMP_SETENV(envp, "HIST", "n");
454 NDMP_SETENV(envp, "FILESYSTEM", "");
455 NDMP_SETENV(envp, "LEVEL", "0");
456 NDMP_SETENV(envp, "UPDATE", "TRUE");
457 NDMP_SETENV(envp, "BASE_DATE", "");
540 ndmp_pval *envp, *sav local
692 ndmp_pval *envp, *envp_save = NULL; local
796 ndmp_pval *envp, *envp_save = NULL; local
941 ndmp_pval *envp = envs; local
[all...]
H A Dndmpd_callbacks.c855 ndmp_pval *envp; local
860 envp = session->ns_data.dd_env;
861 for (i = 0; envp && i < session->ns_data.dd_env_len; envp++, i++)
862 if (strcmp(name, envp->name) == NULL)
863 return (envp);
886 ndmp_pval *envp; local
888 envp = ndmpd_api_find_env(cookie, name);
889 if (envp)
890 return (envp
969 ndmp_pval *envp; local
[all...]
/illumos-gate/usr/src/lib/brand/shared/brand/amd64/
H A Dcrt.s42 * brand_init(int argc, char *argv[], char *envp[])
62 * Calculate the location of the envp array by adding the size of
67 leaq 32(%rbp,%rdi,8), %rdx / envp in %rcx (3rd param)
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dexecve.cc29 extern int execve (const char *path, char *const argv[], char *const envp[]);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c66 static void addenv (char ***envp, char * , char * );
193 execvpe(char *name, char *const argv[], char *const envp[]) argument
231 (void) execve(fname, argv, envp);
242 (void) execve("/bin/sh", newargs, envp);
311 char **envp = NULL; local
454 addenv (&envp, "PATH", "/usr/lib/lp/bin:/usr/bin:/bin:/usr/sbin:/sbin");
456 addenv (&envp, "TZ", getenv("TZ"));
457 addenv (&envp, "LANG", getenv("LANG"));
458 addenv (&envp, "LC_ALL", getenv("LC_ALL"));
459 addenv (&envp, "LC_COLLAT
1210 addenv(char ***envp, char *name, char *value) argument
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.corruptenv.ksh87 main(int argc, char **argv, char **envp)
89 envp[0] = (char*)0xff;
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbootinfo64.c186 u_int64_t envp; local
234 file_addmetadata(kfp, MODINFOMD_ENVP, sizeof envp, &envp);
243 envp = roundup(addr + size, PAGE_SIZE);
244 addr = bi_copyenv(envp);
256 bcopy(&envp, md->md_data, sizeof envp);
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Dboot.s114 / set up tag for envp
120 / now points past args & @ envp
122 / set envp
/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/libc/port/regex/
H A Dwordexp.c114 const char **envp; local
179 if ((envp = _environ) == NULL) {
184 for (n = 0; (ev = envp[n]) != NULL; n++) {
195 env[i] = envp[i];
201 envp = env;
291 (char *const *)args, (char *const *)envp);

Completed in 112 milliseconds

12345