Searched defs:argv (Results 226 - 250 of 1831) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.c43 main(int argc, char *argv[]) argument
55 (void) fprintf(stderr, "Usage: %s\n", argv[0]);
67 (void) fprintf(stderr, "%s: nvlist_alloc failed\n", argv[0]);
80 argv[0], strerror(err));
92 argv[0], strerror(err));
111 "array: %s\n", argv[0], strerror(err));
120 argv[0], strerror(err));
130 argv[0], strerror(errno));
142 "s = %p, errno = %d\n", argv[0], (void *)s, errno);
149 "s = %p, errno = %d\n", argv[
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgmt_mktime.c97 main (int argc, char *argv[]) argument
H A Dsafechown.c83 main(int argc, char *argv[]) argument
89 while ((opt = getopt(argc, argv, "m:u:")) != EOF) {
98 usage(argv[0]);
103 usage(argv[0]);
105 if (safechown(argv[optind], uid, getgid(), mode)) {
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dcrashtest1.c70 int main(int argc, char **argv){ argument
H A Dthreadtest2.c45 int check_callback(void *notUsed, int argc, char **argv, char **notUsed2){ argument
46 if( strcmp(argv[0],"ok") ){
48 fprintf(stderr,"pid=%d. %s\n", getpid(), argv[0]);
97 int main(int argc, char **argv){ argument
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dshowdb.c46 int main(int argc, char **argv){ argument
49 fprintf(stderr,"Usage: %s FILENAME ?PAGE? ...\n", argv[0]);
52 db = open(argv[1], O_RDONLY);
54 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[1]);
67 iStart = strtol(argv[i], &zLeft, 0);
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Ddirtymem.c48 main(int argc, char ** argv) argument
H A Dexhaust.c47 main(int argc, char ** argv) argument
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_halt.c51 audit_halt_setup(int argc, char **argv) argument
61 cmdname = basename(*argv);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dbasename.c95 b_basename(int argc,register char *argv[], void* context) argument
99 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
100 while (n = optget(argv, usage)) switch (n)
109 argv += opt_info.index;
113 namebase(sfstdout,argv[0],argv[1]);
H A Ddirname.c99 b_dirname(int argc,register char *argv[], void* context) argument
105 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
106 while (n = optget(argv, usage)) switch (n)
125 argv += opt_info.index;
130 l_dirname(sfstdout,argv[0]);
131 else if(pathpath(buf, argv[0], "", mode))
134 error(1|ERROR_WARNING, "%s: relative path not found", argv[0]);
H A Dhead.c71 b_head(int argc, register char** argv, void* context) argument
83 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
86 switch (optget(argv, usage))
92 if (opt_info.offset && argv[opt_info.index][opt_info.offset] == 'c')
118 argv += opt_info.index;
122 if (cp = *argv)
123 argv++;
146 } while (cp = *argv++);
H A Dmkdir.c65 b_mkdir(int argc, char** argv, void* context) argument
78 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
81 switch (optget(argv, usage))
106 argv += opt_info.index;
107 if (error_info.errors || !*argv)
123 while (arg = *argv++)
H A Dmktemp.c67 b_mktemp(int argc, char** argv, void* context) argument
81 cmdinit(argc, argv, context, ERROR_CATALOG, ERROR_NOTIFY);
84 switch (optget(argv, usage))
125 argv += opt_info.index;
126 if (error_info.errors || (pfx = *argv++) && *argv)
H A Dpids.c91 b_pids(int argc, char** argv, void* context) argument
95 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
98 switch (optget(argv, usage))
112 argv += opt_info.index;
113 if (error_info.errors || *argv)
H A Dreadlink.c42 b_readlink(int argc, char** argv, void* context) argument
56 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
59 switch (optget(argv, usage))
79 argv += opt_info.index;
83 filename = argv[0];
H A Drmdir.c57 b_rmdir(int argc, char** argv, void* context) argument
66 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
67 while (n = optget(argv, usage)) switch (n)
85 argv += opt_info.index;
86 if (error_info.errors || !*argv)
90 while (dir = *argv++)
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmbchk.c185 main (int argc, char *argv[]) argument
191 c = getopt_long (argc, argv, optstring, longopts, 0);
223 fp = fopen (argv[optind], "r");
226 fprintf (stderr, "%s: No such file.\n", argv[optind]);
230 if (! check_multiboot (argv[optind], fp))
/illumos-gate/usr/src/lib/brand/sn1/sn1_brand/common/
H A Dsn1_brand.c82 brand_init(int argc, char *argv[], char *envp[]) argument
87 ldentry = brand_post_init(SN1_VERSION, argc, argv, envp);
89 brand_runexe(argv, ldentry);
/illumos-gate/usr/src/cmd/valtools/
H A Dputtext.c54 * Given argv[0], return a pointer to the basename of the program.
71 main(int argc, char **argv) argument
82 prog = prog_name(argv[0]);
84 while ((c = getopt(argc, argv, "nr:l:?")) != EOF) {
106 (void) puttext(stdout, argv[optind], lmarg, rmarg);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_argv.h30 * using an argv even for internally done "next" commands.
35 var unsigned char **argv; variable
47 short argc; /* Index of current file in argv */
48 short argc0; /* Number of arguments in argv */
49 unsigned char *argv[NARGS + 1]; /* WHAT A WASTE! */ member in struct:glob
/illumos-gate/usr/src/cmd/mesg/
H A Dmesg.c61 main(int argc, char *argv[]) argument
96 while ((c = getopt(argc, argv, "yn")) != EOF) {
128 switch (*argv[optind]) {
/illumos-gate/usr/src/cmd/mknod/
H A Dmknod.c66 main(int argc, char **argv) argument
76 if (argv[2][1] != '\0')
80 switch (argv[2][0]) {
90 switch (argv[2][0]) {
100 majno = (major_t)number(argv[3]);
103 "'%s' - valid range is 0-%lu\n", argv[3], MAXMAJ);
106 minno = (minor_t)number(argv[4]);
109 "'%s' - valid range is 0-%lu\n", argv[4], MAXMIN);
116 return (domk(argv[1], (mode | ACC), arg) ? 2 : 0);
/illumos-gate/usr/src/cmd/mkpwdict/
H A Dmkpwdict.c59 main(int argc, char *argv[]) argument
73 if ((pname = strrchr(argv[0], '/')) == NULL)
74 pname = argv[0];
89 while ((c = getopt(argc, argv, options)) != EOF) {
/illumos-gate/usr/src/cmd/mktemp/
H A Dmktemp.c46 main(int argc, char **argv) argument
66 while ((opt = getopt(argc, argv, "dqtup:")) != EOF) {
88 argv += optind;
95 tmpl = argv[0];

Completed in 83 milliseconds

1234567891011>>