Searched defs:newargs (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dbootflags.c58 static char newargs[OBP_MAXPATHLEN]; local
181 *newargs = '\0';
182 np = newargs;
222 npres = sizeof (newargs) - (size_t)(np - newargs);
259 newargs[sizeof (newargs) - 1] = '\0';
260 (void) strlcpy(args, newargs, argsz);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dexecvp.c65 char *newargs[256]; local
81 newargs[0] = "sh";
82 newargs[1] = fname;
83 for (i = 1; (newargs[i+1] = argv[i]) != NULL; ++i) {
89 (void) execv(shell, newargs);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dexecvp.c111 char *newargs[256]; local
170 newargs[0] = "sh";
171 newargs[1] = fname;
172 for (i = 1; (newargs[i + 1] = argv[i]) != NULL; ++i) {
178 (void) execv(_PATH_BSHELL, newargs);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c197 char *newargs[256]; local
234 newargs[0] = "sh";
235 newargs[1] = fname;
236 for (i = 1; (newargs[i + 1] = argv[i]) != NULL; ++i) {
242 (void) execve("/bin/sh", newargs, envp);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dspawn.c389 char **newargs; local
416 newargs = alloca((argc + 2) * sizeof (char *));
490 newargs[0] = "sh";
491 newargs[1] = path;
493 newargs[i + 1] = argv[i];
495 (void) execve(_PATH_BSHELL, newargs, envp);
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1217 char *newargs[1 + SHELL_MAXARGS + 1]; local
1279 newargs[0] = argv[0];
1284 newargs[j++] = argv[i++];
1286 newargs[j] = NULL;
1294 (void) execvp(newargs[0], newargs);

Completed in 448 milliseconds