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

1234567891011>>

/illumos-gate/usr/src/lib/libcmd/common/
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];
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.c58 main(int argc, char **argv) argument
60 return (foo(argc, (int)argv) == 0);
/illumos-gate/usr/src/cmd/env/
H A Denv.c57 main(int argc, char **argv) argument
72 if ((argc > 1) && (strcmp(argv[1], "-")) == 0) {
75 argv[i] = argv[i+1];
80 while ((opt = getopt(argc, argv, "i")) != EOF) {
92 while (argv[optind] != NULL && strchr(argv[optind], '=') != NULL) {
93 if (putenv(argv[optind])) {
94 (void) perror(argv[optind]);
101 if (argv[optin
[all...]
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dconfig.c50 cmd_config(fmd_adm_t *adm, int argc, char *argv[]) argument
65 cmd_rotate(fmd_adm_t *adm, int argc, char *argv[]) argument
70 if (fmd_adm_log_rotate(adm, argv[1]) != 0)
71 die("failed to rotate %s", argv[1]);
73 note("%s has been rotated out and can now be archived\n", argv[1]);
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dlookup.c65 cmd_lookup(int argc, char *argv[]) argument
89 while ((opt = getopt(argc, argv, "w:")) != EOF) {
103 hostname = argv[argc - 1];
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Drunner.h36 gchar **argv; member in struct:__anon662

Completed in 234 milliseconds

1234567891011>>