Home
last modified time | relevance | path

Searched refs:xargv (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/ast/ksh/builtins/
H A Dalias.c185 char **xargv; in script_builtin_main() local
194 xargv = calloc(argc + 2, sizeof (char *)); in script_builtin_main()
195 if (xargv == NULL) in script_builtin_main()
197 xargv[0] = "/usr/bin/sh"; in script_builtin_main()
199 xargv[i + 1] = argv[i]; in script_builtin_main()
200 xargv[i + 1] = NULL; in script_builtin_main()
202 shp = sh_init(argc + 1, xargv, 0); in script_builtin_main()
214 free(xargv); in script_builtin_main()
/illumos-gate/usr/src/cmd/refer/
H A Dglue5.c43 char **xargv; variable
72 xargv = argv+1; in fgrep()
73 while (xargc > 0 && xargv[0][0] == '-') { in fgrep()
74 switch (xargv[0][1]) { in fgrep()
79 need = (int)xargv[1]; in fgrep()
80 xargv++; xargc--; in fgrep()
83 instr = xargv[1]; in fgrep()
84 inct = (int)xargv[2]+2; in fgrep()
86 fprintf(stderr, "inct %d xargv.2. %o %d\n", inct, xargv[2], xargv[2]); in fgrep()
88 xargv += 2; xargc -= 2; in fgrep()
[all …]
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c330 getflags(int *xargc, char ***xargv, int *option_end) in getflags() argument
337 arg = (*xargv)[1]; /* point arg to current argument */ in getflags()
350 chkspace(&arg, xargc, xargv); in getflags()
358 chkspace(&arg, xargc, xargv); in getflags()
372 chkspace(&arg, xargc, xargv); in getflags()
379 chkspace(&arg, xargc, xargv); in getflags()
386 chkspace(&arg, xargc, xargv); in getflags()
394 chkspace(&arg, xargc, xargv); in getflags()
415 (*xargv)++; in getflags()
432 chkspace(char **argptr, int *xargc, char ***xargv) in chkspace() argument
[all …]