Searched refs:newargs (Results 1 – 5 of 5) sorted by relevance
36 oflags= newargs=45 newargs="$newargs $cm"48 *) newargs="$newargs $i" ;;68 exec troff $newargs
54 static char newargs[OBP_MAXPATHLEN]; in bootflags() local164 *newargs = '\0'; in bootflags()165 np = newargs; in bootflags()205 npres = sizeof (newargs) - (size_t)(np - newargs); in bootflags()242 newargs[sizeof (newargs) - 1] = '\0'; in bootflags()243 (void) strlcpy(args, newargs, argsz); in bootflags()
114 char *newargs[256]; in execvpe_int() local177 newargs[0] = "sh"; in execvpe_int()178 newargs[1] = fname; in execvpe_int()179 for (i = 1; (newargs[i + 1] = argv[i]) != NULL; ++i) { in execvpe_int()186 (void) execve(_PATH_BSHELL, newargs, envp); in execvpe_int()188 (void) execv(_PATH_BSHELL, newargs); in execvpe_int()
389 char **newargs; in posix_spawnp() local416 newargs = alloca((argc + 2) * sizeof (char *)); in posix_spawnp()490 newargs[0] = "sh"; in posix_spawnp()491 newargs[1] = path; in posix_spawnp()493 newargs[i + 1] = argv[i]; in posix_spawnp()495 (void) execve(_PATH_BSHELL, newargs, envp); in posix_spawnp()
1315 char *newargs[1 + SHELL_MAXARGS + 1]; in doexec() local1377 newargs[0] = argv[0]; in doexec()1382 newargs[j++] = argv[i++]; in doexec()1384 newargs[j] = NULL; in doexec()1392 (void) execvp(newargs[0], newargs); in doexec()