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

1234

/freebsd-head/lib/libc/gen/
H A Dexect.c36 exect(const char *path, char *const argv[], char *const envp[]) argument
44 return (execve(path, argv, envp));
H A Dexec.c83 char **envp; local
101 envp = va_arg(ap, char **);
103 return (_execve(name, __DECONST(char **, argv), envp));
147 char * const *envp)
207 retry: (void)_execve(bp, argv, envp);
227 __DECONST(char **, memp), envp);
272 _execvpe(const char *name, char * const argv[], char * const envp[]) argument
280 return (execvPe(name, path, argv, envp));
146 execvPe(const char *name, const char *path, char * const *argv, char * const *envp) argument
/freebsd-head/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fexecve.c58 const char *const envp[] = { NULL }; local
67 if (fexecve(fd, __UNCONST(argv), __UNCONST(envp)) == -1) {
/freebsd-head/usr.sbin/cron/cron/
H A Duser.c63 char **envp, **tenvp; local
88 if ((envp = env_init()) == NULL) {
105 e = load_entry(file, log_error, pw, envp);
112 if ((tenvp = env_set(envp, envstr))) {
113 envp = tenvp;
124 env_free(envp);
/freebsd-head/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc1.c62 char *envp[] = { NULL, NULL }; local
67 if ((envp[0] = strdup("FOO=BAZ")) == NULL)
87 execve("/usr/bin/true", argv, envp);
/freebsd-head/usr.sbin/crunch/crunchgen/
H A Dcrunched_main.c53 main(int argc, char **argv, char **envp) argument
68 return ep->f(argc, argv, envp);
77 crunched_main(int argc, char **argv, char **envp) argument
89 return main(--argc, ++argv, envp);
/freebsd-head/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_bcmvar.h54 const char *envp; /**< Pointer to the NVRAM variable mirroring member in struct:bhnd_nvram_bcm_hvar
/freebsd-head/lib/msun/amd64/
H A Dfenv.c88 fegetenv(fenv_t *envp) argument
91 __fnstenv(&envp->__x87);
92 __stmxcsr(&envp->__mxcsr);
97 __fldcw(&envp->__x87.__control);
102 feholdexcept(fenv_t *envp) argument
107 __fnstenv(&envp->__x87);
109 envp->__mxcsr = mxcsr;
119 feupdateenv(const fenv_t *envp) argument
126 fesetenv(envp);
/freebsd-head/contrib/wpa/src/utils/
H A Dbrowser-wpadebug.c100 char *envp[] = { "PATH=/system/bin:/vendor/bin", NULL }; local
117 execve("/system/bin/am", argv, envp);
/freebsd-head/contrib/tcp_wrappers/
H A Denviron.c55 char **envp; local
57 for (envp = environ; envp && *envp; envp++)
58 if (strncmp(name, *envp, len) == 0 && (*envp)[len] == '=')
59 return (envp);
69 char **envp = findenv(name, len); local
71 return (envp
90 char **envp; local
105 char **envp; local
152 char **envp; local
187 char **envp; local
[all...]
/freebsd-head/tools/test/upsdl/
H A Dupsdl.c137 int main(int argc,char *argv[],char *envp[]) argument
/freebsd-head/contrib/blacklist/port/
H A Dpopenve.c189 popenve(const char *cmd, char *const *argv, char *const *envp, const char *type) argument
213 execve(cmd, argv, envp);
/freebsd-head/contrib/netbsd-tests/lib/librumpclient/
H A Dh_execthr.c98 main(int argc, char *argv[], char *envp[]) argument
219 if (rumpclient_exec(argv[0], execarg, envp) == -1)
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dsetproctitle.c74 char **envp = environ; local
87 for (i = 0; envp[i] != NULL; i++)
90 environ = envp; /* put it back */
102 for (i = 0; envp[i] != NULL; i++) {
103 if (lastargv + 1 == envp[i])
104 lastargv = envp[i] + strlen(envp[i]);
115 for (i = 0; envp[i] != NULL; i++)
116 environ[i] = strdup(envp[i]);
/freebsd-head/usr.sbin/mailwrapper/
H A Dmailwrapper.c89 main(int argc, char *argv[], char *envp[]) argument
120 execve(_PATH_DEFAULTMTA, al.argv, envp);
168 execve(to, al.argv, envp);
/freebsd-head/lib/libproc/
H A Dproc_create.c181 proc_create(const char *file, char * const *argv, char * const *envp, argument
204 if (envp != NULL)
205 environ = envp;
/freebsd-head/lib/msun/i387/
H A Dfenv.c133 fegetenv(fenv_t *envp) argument
137 __fnstenv(envp);
142 __fldcw(&envp->__control);
145 __set_mxcsr(*envp, mxcsr);
151 feholdexcept(fenv_t *envp) argument
155 __fnstenv(envp);
159 __set_mxcsr(*envp, mxcsr);
170 feupdateenv(const fenv_t *envp) argument
180 fesetenv(envp);
/freebsd-head/sys/mips/atheros/ar531x/
H A Dar5315_machdep.c95 * "ethaddr" is passed via envp on RedBoot platforms
160 char **envp = NULL; local
186 envp = (char**)a2;
191 if (MIPS_IS_VALID_PTR(envp)) {
192 for (i = 0; envp[i]; i += 2) {
193 if (strcmp(envp[i], "memsize") == 0)
194 realmem = btoc(strtoul(envp[i+1], NULL, 16));
284 if (MIPS_IS_VALID_PTR(envp)) {
285 if (envp[0] && strchr(envp[
[all...]
/freebsd-head/sys/mips/beri/
H A Dberi_machdep.c178 char **envp = (char **)a2; local
265 printf("envp:\n");
266 for (i = 0; envp[i]; i += 2)
267 printf("\t%s = %s\n", envp[i], envp[i+1]);
/freebsd-head/sys/mips/mediatek/
H A Dmtk_machdep.c216 char **envp = (char **)MIPS_PHYS_TO_KSEG0(a2); local
286 for (i = 0; envp[i] && MIPS_IS_VALID_PTR(envp[i]); i++) {
289 arg = (char *)(intptr_t)MIPS_PHYS_TO_KSEG0(envp[i]);
/freebsd-head/crypto/heimdal/lib/roken/
H A Dsimple_exec.c256 simple_execve_timed(const char *file, char *const args[], char *const envp[], argument
264 execve(file, args, envp);
272 simple_execve(const char *file, char *const args[], char *const envp[]) argument
274 return simple_execve_timed(file, args, envp, NULL, NULL, 0);
295 simple_execle(const char *file, ... /* ,char *const envp[] */)
299 char *const* envp; local
304 envp = va_arg(ap, char **);
308 ret = simple_execve(file, argv, envp);
/freebsd-head/stand/userboot/userboot/
H A Dbootinfo64.c189 uint64_t envp; local
226 envp = addr;
239 file_addmetadata(kfp, MODINFOMD_ENVP, sizeof envp, &envp);
H A Dbootinfo32.c146 vm_offset_t envp; local
191 envp = addr;
204 file_addmetadata(kfp, MODINFOMD_ENVP, sizeof envp, &envp);
250 bi.bi_envp = envp;
/freebsd-head/stand/i386/libi386/
H A Dbootinfo64.c191 uint64_t envp; local
239 file_addmetadata(kfp, MODINFOMD_ENVP, sizeof envp, &envp);
251 envp = roundup(addr + size, PAGE_SIZE);
252 addr = bi_copyenv(envp);
264 bcopy(&envp, md->md_data, sizeof envp);
H A Dbootinfo32.c147 vm_offset_t envp; local
209 envp = addr;
222 file_addmetadata(kfp, MODINFOMD_ENVP, sizeof envp, &envp);
265 bi.bi_envp = envp;

Completed in 312 milliseconds

1234