Home
last modified time | relevance | path

Searched refs:argvec (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dconfig.c74 static int parse_line(char *line, char *argvec[], int argcount);
230 char *argvec[MAXARGSPERLINE]; in parse_config() local
250 argcount = parse_line(pline, argvec, in parse_config()
251 sizeof (argvec) / sizeof (argvec[0])); in parse_config()
258 i, argvec[i]); in parse_config()
264 if (strcmp(argvec[0], "ifdefault") == 0) { in parse_config()
277 parse_default(CONFIG_IF, iflist, argvec+1, argcount-1, in parse_config()
281 } else if (strcmp(argvec[0], "prefixdefault") == 0) { in parse_config()
295 parse_default(CONFIG_PREFIX, prefixlist, argvec+1, in parse_config()
299 } else if (strcmp(argvec[0], "if") == 0) { in parse_config()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsoconfig.c75 static int split_line(char *line, char *argvec[], int maxargvec);
201 char *argvec[20]; in parse_file() local
217 argcount = split_line(pline, argvec, in parse_file()
218 sizeof (argvec) / sizeof (argvec[0])); in parse_file()
225 printf("arg[%d]: %s\n", i, argvec[i]); in parse_file()
233 numerror += parse_params(argvec[0], argvec[1], in parse_file()
234 argvec[2], NULL, filename, linecount); in parse_file()
237 numerror += parse_params(argvec[0], argvec[1], in parse_file()
238 argvec[2], argvec[3], filename, linecount); in parse_file()
263 split_line(char *line, char *argvec[], int maxargvec) in split_line() argument
[all …]
/illumos-gate/usr/src/lib/libmail/common/
H A Dsetup_exec.c41 static char *argvec[256]; /* is this enough? */ in setup_exec() local
78 argvec[i++] = p; in setup_exec()
82 argvec[i++] = p; in setup_exec()
85 argvec[i] = NULL; in setup_exec()
89 return (argvec); in setup_exec()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dexecl.c50 char **argvec; in execl() local
76 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *))); in execl()
77 argp = argvec; in execl()
89 err = execve(name, argvec, _environ); in execl()
H A Dexecle.c49 char **argvec; in execle() local
81 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *))); in execle()
82 argp = argvec; in execle()
94 err = execve(file, argvec, environmentp); in execle()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c500 char *argvec[15]; in invoke_utmp_update() local
530 argvec[0] = UTMP_UPDATE; in invoke_utmp_update()
531 argvec[1] = user; in invoke_utmp_update()
532 argvec[2] = id; in invoke_utmp_update()
533 argvec[3] = line; in invoke_utmp_update()
534 argvec[4] = pid; in invoke_utmp_update()
535 argvec[5] = type; in invoke_utmp_update()
536 argvec[6] = term; in invoke_utmp_update()
537 argvec[7] = exit; in invoke_utmp_update()
538 argvec[8] = time; in invoke_utmp_update()
[all …]
H A Dexecvp.c61 char **argvec; in execlp() local
88 argvec = alloca((size_t)((nargs + 2) * sizeof (char *))); in execlp()
90 argp = argvec; in execlp()
104 err = execvp(name, argvec); in execlp()
/illumos-gate/usr/src/cmd/saf/
H A Dsacadm.c1278 char *argvec[4]; in invoke_rm() local
1280 argvec[0] = "rm"; in invoke_rm()
1281 argvec[1] = "-rf"; in invoke_rm()
1282 argvec[2] = fname; in invoke_rm()
1283 argvec[3] = NULL; in invoke_rm()
1286 (char *const *)argvec, NULL)) in invoke_rm()
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c828 m4open(char ***argvec, char *mode, int *argcnt) in m4open() argument
834 arg = (*argvec)[0]; /* point arg to current file name */ in m4open()
847 (*argvec)++; /* try next arg */ in m4open()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dspawn.c903 const char *argvec[4] = { "sh", "-c", cmd, NULL }; in posix_spawn_pipe_np() local
942 (char *const *)argvec, (char *const *)_environ); in posix_spawn_pipe_np()
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm.c731 char *argvec[] = {"sh", "-c", NULL, NULL}; in rcm_exec_cmd() local
733 argvec[2] = cmd; in rcm_exec_cmd()
735 (void) execv("/bin/sh", argvec); in rcm_exec_cmd()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c3845 parse_pattern_or_prop(FILE *fp, char *argvec[], char **leftover) in parse_pattern_or_prop() argument
3979 if ((argvec[i] = malloc(strlen(tmp_buf) in parse_pattern_or_prop()
3985 (void) strcpy(argvec[i], in parse_pattern_or_prop()
4013 if ((argvec[i] = malloc(strlen(tmp_buf) + 1)) == in parse_pattern_or_prop()
4018 (void) strcpy(argvec[i++], tmp_buf); in parse_pattern_or_prop()