Home
last modified time | relevance | path

Searched refs:eargc (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c29 int eargc; /* expanded arg count */ variable
52 #define sort() qsort((char *)sortbase, &eargv[eargc] - sortbase, \
53 sizeof (*sortbase), argcmp), sortbase = &eargv[eargc]
91 eargc = 0; in expand()
104 for (n = 0; n < eargc; n++) { in expand()
226 oeargc = eargc; in expstr()
229 if (eargc == oeargc) in expstr()
594 if (nleft <= 0 || ++eargc >= GAVSIZ) in Cat()
596 eargv[eargc] = 0; in Cat()
597 eargv[eargc - 1] = s = (char *)malloc(len); in Cat()
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed0.c55 int eargc; variable
83 eargc = argc; in main()
102 if(eargc == 1) in main()
108 while (--eargc > 0 && (++eargv)[0][0] == '-') in main()
117 if(eargc-- <= 0) exit(2); in main()
148 eargc++; in main()
152 eargc--; in main()
163 if(eargc <= 0) in main()
165 else while(--eargc >= 0) { in main()
620 if(--eargc <= 0)
H A Dsed.h142 extern int eargc;
H A Dsed1.c629 if(eargc == 0)
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c241 int eargc = 0; in findopt() local
529 argv[eargc++][0] = '\0'; in findopt()
535 for (i = eargc; optind < argc; i++, optind++) { in findopt()
537 eargc++; in findopt()
562 Ncols = eargc; in findopt()
623 return (eargc); in findopt()