Searched defs:av (Results 1 - 25 of 112) sorted by relevance

12345

/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A Djdtrace.c39 char **av, **p; local
43 av = p = alloca(sizeof (char *) * ac);
58 asprintf(av, "/usr/java/bin/%s/java", isaname);
60 (void) execv(av[0], av);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dsystrace.c40 char* av[7]; local
53 av[1] = trace[0];
54 av[2] = "-o";
55 av[3] = buf;
56 av[4] = "-p";
57 av[5] = out + 1;
58 av[6] = 0;
63 if (!procfree(procopen(trace[n], av + 1, NiL, ov, PROC_ARGMOD|PROC_GID|PROC_UID|(n == (elementsof(trace) - 1) ? PROC_CLEANUP : 0))))
H A Dgetenv.c57 register char** av; local
63 av = environ;
64 if (!av || !name || !(c0 = *name))
68 while (cp = *av++)
/illumos-gate/usr/src/lib/libast/common/port/
H A Dtouch.c48 Tv_t av; local
59 av.tv_sec = at;
60 av.tv_nsec = 0;
61 ap = &av;
/illumos-gate/usr/src/lib/libast/common/preroot/
H A Dsetpreroot.c42 char** av; local
49 if (av = newof(0, char*, argc, 0))
51 ap = av;
59 ap = av;
65 execv(*av, av);
66 free(av);
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Daccept.c57 main(int ac, char *av[]) argument
68 while ((c = getopt(ac, av, "E")) != EOF)
74 usage(av[0]);
78 usage(av[0]);
81 char *printer = av[c];
H A Denable.c57 main(int ac, char *av[]) argument
68 while ((c = getopt(ac, av, "E")) != EOF)
74 usage(av[0]);
78 usage(av[0]);
81 char *printer = av[c];
H A Dlprm.c57 main(int ac, char *av[]) argument
68 while ((c = getopt(ac, av, "EP:")) != EOF)
77 usage(av[0]);
96 ac - optind, &av[optind]);
H A Dreject.c57 main(int ac, char *av[]) argument
69 while ((c = getopt(ac, av, "Er:")) != EOF)
78 usage(av[0]);
82 usage(av[0]);
85 char *printer = av[optind++];
H A Dlpq.c73 main(int ac, char *av[]) argument
87 while ((c = getopt(ac, av, "EP:l")) != EOF)
99 usage(av[0]);
102 if ((optind < ac) && (av[optind][0] == '+'))
103 interval = atoi(av[optind++]);
125 ac - optind, &av[optind]);
H A Dcancel.c108 main(int ac, char *av[]) argument
122 usage(av[0]);
124 while ((c = getopt(ac, av, "Eu:")) != EOF)
133 usage(av[0]);
143 status = papiServiceCreate(&svc, av[c], NULL, NULL,
147 (void) get_printer_id(av[c], &printer, &id);
160 printer = av[c];
H A Ddisable.c88 main(int ac, char *av[]) argument
102 while ((c = getopt(ac, av, "EcWr:")) != EOF)
117 usage(av[0]);
121 usage(av[0]);
124 char *printer = av[optind++];
H A Dlp.c65 main(int ac, char *av[]) argument
94 while ((c = getopt(ac, av, "DEH:P:S:T:cd:f:i:mn:o:pq:rst:Vwy:")) != EOF)
215 usage(av[0]);
231 if (((optind + 1) == ac) && (strcmp(av[optind], "-") == 0))
243 document_format = magic_file(ms, av[optind]);
247 if (is_postscript(av[optind]) == 1)
285 NULL, &av[optind], &job);
288 NULL, &av[optind], &job);
291 NULL, &av[optind], &job);
H A Dlpmove.c71 main(int ac, char *av[]) argument
81 while ((c = getopt(ac, av, "E:")) != EOF)
87 usage(av[0]);
91 usage(av[0]);
93 destination = av[--ac];
102 (void) get_printer_id(av[c], &printer, &id);
H A Dlpr.c65 main(int ac, char *av[]) argument
86 while ((c = getopt(ac, av,
198 usage(av[0]);
206 if (((optind + 1) == ac) && (strcmp(av[optind], "-") == 0))
215 document_format = magic_file(ms, av[optind]);
219 if (is_postscript(av[optind]) == 1)
244 NULL, &av[optind], &job);
250 NULL, &av[optind], &job);
253 NULL, &av[optind], &job);
/illumos-gate/usr/src/cmd/print/conv_fix/
H A Dconv_fix.c89 main(int ac, char *av[]) argument
103 while ((c = getopt(ac, av, "f:o:")) != EOF)
115 av[0]);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.fingerd.c61 char *av[MAXARGS + 1]; local
70 av[0] = "finger";
85 av[i++] = "-l";
87 av[i++] = "-s";
102 av[i++] = sp;
113 av[i] = (char *)0;
123 execv("/usr/bin/finger", av);
/illumos-gate/usr/src/stand/lib/sa/
H A Dmemlist.c47 print_memlist(struct memlist *av) argument
49 struct memlist *p = av;
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmxtouch.c43 Tv_t av; local
56 av.tv_sec = tmxsec(at);
57 av.tv_nsec = tmxnsec(at);
58 ap = &av;
H A Dtvtouch.c88 tvtouch(const char* path, register const Tv_t* av, register const Tv_t* mv, const Tv_t* cv, int flags) argument
110 if (!av)
115 else if (av == TV_TOUCH_RETAIN)
122 ts[0].tv_sec = av->tv_sec;
123 ts[0].tv_nsec = NS(av->tv_nsec);
140 if (!cv && av == TV_TOUCH_RETAIN && mv == TV_TOUCH_RETAIN && !stat(path, &st) && !chmod(path, st.st_mode & S_IPERM))
159 if ((av == TV_TOUCH_RETAIN || mv == TV_TOUCH_RETAIN) && stat(path, &st))
162 if (av == TV_TOUCH_RETAIN)
163 av = 0;
167 if (!av || !m
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_scsi.c58 register ulong av = *(ulong *)ap; local
60 return (((av & 0xff) << 16) | (av & 0xff00) | ((av & 0xff0000) >> 16));
/illumos-gate/usr/src/cmd/print/lpget/
H A Dlpget.c116 main(int ac, char *av[]) argument
131 if ((program = strrchr(av[0], '/')) == NULL)
132 program = av[0];
137 while ((c = getopt(ac, av, "k:t:n:")) != EOF)
157 char *name = av[optind++];
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/apix/
H A Dapix.c47 struct autovec av; local
105 if (mdb_vread(&av, sizeof (struct autovec),
113 apix_interrupt_dump(&apix_vector, &apic_irq, &av,
131 if (mdb_vread(&av, sizeof (struct autovec),
137 apix_interrupt_ipi_dump(&apix_vector, &av, NULL);
/illumos-gate/usr/src/cmd/fm/eversholt/esc/common/
H A Descmain.c99 char **av; local
199 av = &argv[optind];
207 lex_init(av, Cppargs, lexecho);
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c44 unsigned char **av; variable
50 av = com;
75 return(av[ap++]);

Completed in 63 milliseconds

12345