Searched defs:argv (Results 126 - 150 of 1831) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libsqlite/tool/
H A Ddiffdb.c20 int main(int argc, char **argv){ argument
24 fprintf(stderr,"Usage: %s FILENAME FILENAME\n", argv[0]);
27 db1 = open(argv[1], O_RDONLY);
29 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[1]);
32 db2 = open(argv[2], O_RDONLY);
34 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[2]);
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dgeneral.c45 main(int argc, char ** argv) argument
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_shutdown.c50 audit_shutdown_setup(int argc, char **argv) argument
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmdinit.c30 _cmd_init(int argc, char** argv, void* context, const char* catalog, int flags) argument
50 if (cp = strrchr(argv[0], '/'))
53 cp = argv[0];
70 cmdinit(char** argv, void* context, const char* catalog, int flags) argument
72 _cmd_init(0, argv, context, catalog, flags);
H A Dmkfifo.c53 b_mkfifo(int argc, char *argv[], void* context) argument
60 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
63 switch (optget(argv, usage))
82 argv += opt_info.index;
83 if (error_info.errors || !*argv)
92 while (arg = *argv++)
H A Dtty.c57 b_tty(int argc, char *argv[], void* context) argument
62 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
63 while (n = optget(argv, usage)) switch (n)
/illumos-gate/usr/src/cmd/vi/misc/
H A Dfold.c53 main(int argc, char *argv[]) argument
59 argc--, argv++;
61 if (argc > 0 && argv[0][0] == '-') {
63 argv[0]++;
64 while (*argv[0] >= '0' && *argv[0] <= '9')
65 fold *= 10, fold += *argv[0]++ - '0';
66 if (*argv[0]) {
70 argc--, argv++;
74 if (freopen(argv[
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dstdethers.c41 main(int argc, char **argv) argument
53 in = fopen(argv[1], "r");
56 "%s: can't open %s\n", argv[0], argv[1]);
73 "%s: ignoring line: %s\n", argv[0], line);
/illumos-gate/usr/src/cmd/zonename/
H A Dzonename.c45 main(int argc, char *argv[]) argument
57 while ((arg = getopt(argc, argv, "t")) != EOF) {
/illumos-gate/usr/src/cmd/msgfmt/
H A Doption.c37 char **argv = *pargv; local
39 argv++;
41 arg = *argv;
50 argv++;
66 argv++;
71 flag->idir = *++argv;
73 ++argv;
74 argv++;
97 argv++;
101 flag->ofile = *++argv;
[all...]
/illumos-gate/usr/src/cmd/nice/
H A Dnice.c49 main(int argc, char *argv[]) argument
64 if (argv[1][0] == '-') {
65 if (strcmp(argv[1], "--") == 0) {
66 argv++;
69 register char *p = argv[1];
76 * else case assigns p instead of argv
80 argv++;
84 nicarg_str = argv[1];
90 nicarg_str = &argv[1][1];
102 argv
[all...]
/illumos-gate/usr/src/cmd/pagesize/
H A Dpagesize.c39 main(int argc, char *argv[]) argument
52 while ((c = getopt(argc, (char * const *)argv, "a")) != -1) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm_delete.c45 do_delete(int argc, char *argv[]) argument
57 argv += 1;
59 while ((c = getopt(argc, argv, "v")) != -1) {
71 port = argv[optind];
74 addr = argv[optind];
75 port = argv[optind + 1];
/illumos-gate/usr/src/cmd/lp/cmd/lptest/
H A Dlptest.c24 main(int argc, char **argv) argument
32 len = atoi(argv[1]);
36 count = atoi(argv[2]);
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dglob.c39 char **argv; /* global so everyone can use them */ variable
/illumos-gate/usr/src/cmd/lp/model/
H A Ddrain.output.c63 main(int argc, char *argv[]) argument
83 if (argc != 2 || (sleep_time = atoi(argv[1])) < 0)
/illumos-gate/usr/src/cmd/mdb/demo/common/
H A Dexample1.c37 simple_echo(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
45 if (argv->a_type == MDB_TYPE_STRING)
46 mdb_printf("%s ", argv->a_un.a_str);
48 mdb_printf("%llr ", argv->a_un.a_val);
49 argv++;
66 vminfo(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
/illumos-gate/usr/src/cmd/refer/
H A Dlookbib.c26 main(int argc, char **argv) argument
43 sprintf(s, "%s.ia", argv[1]);
45 sprintf(s, "%s", argv[1]);
53 sprintf(hunt, "/usr/lib/refer/hunt %s", argv[1]);
H A Drefer1.c34 main(int argc, char *argv[]) /* process command-line arguments */ argument
46 while (argc > 1 && argv[1][0] == '-') {
47 switch (argv[1][1]) {
54 if (argv[1][2])
55 keystr = argv[1]+2;
59 s = argv[1]+2;
67 keywant = (argv[1][2] ? argv[1][2] : 'L');
75 argv++;
76 *search++ = argv[
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.c52 main(int argc, char **argv) argument
H A Dtst.ret1.c59 main(int argc, char **argv) argument
H A Dtst.vfork.c52 main(int argc, char **argv) argument
H A Dtst.weak1.c53 main(int argc, char **argv) argument
H A Dtst.weak2.c53 main(int argc, char **argv) argument
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.c37 main(int argc, char **argv) argument
43 char *cmd = argv[0];

Completed in 64 milliseconds

1234567891011>>