Searched refs:argv (Results 1 - 25 of 2168) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.h37 extern void kdb5_ldap_create_policy(int argc, char **argv);
38 extern void kdb5_ldap_destroy_policy(int argc, char **argv);
39 extern void kdb5_ldap_modify_policy(int argc, char **argv);
40 extern void kdb5_ldap_view_policy(int argc, char **argv);
41 extern void kdb5_ldap_list_policies(int argc, char **argv);
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dload.c33 cmd_load(fmd_adm_t *adm, int argc, char *argv[]) argument
38 if (argv[1][0] != '/')
41 if (fmd_adm_module_load(adm, argv[1]) != 0)
42 die("failed to load %s", argv[1]);
44 note("module '%s' loaded into fault manager\n", argv[1]);
49 cmd_unload(fmd_adm_t *adm, int argc, char *argv[]) argument
54 if (strchr(argv[1], '/') != NULL)
57 if (fmd_adm_module_unload(adm, argv[1]) != 0)
58 die("failed to unload %s", argv[1]);
60 note("module '%s' unloaded from fault manager\n", argv[
[all...]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dprocess_command.c44 ADM_Process_command(int argc, char *argv[]) argument
46 if (strcasecmp(argv[1], "help") == 0)
49 else if (strcasecmp(argv[1], "send_event") == 0)
50 ADM_Process_send_event(argc, argv);
52 else if (strcasecmp(argv[1], "modem_setup") == 0)
55 else if (strcasecmp(argv[1], "date") == 0)
56 ADM_Process_date(argc, argv);
58 else if (strcasecmp(argv[1], "set") == 0)
59 ADM_Process_set(argc, argv);
61 else if (strcasecmp(argv[
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.h36 extern char *kadmin_startup(int argc, char *argv[]);
38 extern void kadmin_lock(int argc, char *argv[]);
39 extern void kadmin_unlock(int argc, char *argv[]);
40 extern void kadmin_delprinc(int argc, char *argv[]);
41 extern void kadmin_cpw(int argc, char *argv[]);
42 extern void kadmin_addprinc(int argc, char *argv[]);
43 extern void kadmin_modprinc(int argc, char *argv[]);
44 extern void kadmin_getprinc(int argc, char *argv[]);
45 extern void kadmin_getprincs(int argc, char *argv[]);
46 extern void kadmin_addpol(int argc, char *argv[]);
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/s10_replacefile/
H A Ds10_replacefile.c61 * argv[1] - dstActual (the path to the file that will be replaced)
62 * argv[2] - tmp_file (the temporary location to which the file will be
64 * argv[3] - tmpDst (the path to the replacement file)
65 * argv[4] - tmpFile (the path to a temporary copy of the running system's
68 * argv[5] - cksumTmpDst (checksum of the file represented by tmpDst)
69 * argv[6] - cksumTmpFile (checksum of the file represented by tmpFile)
71 * NOTE: This program will only establish an overlay mount if argv[4] or argv[5]
72 * is emtpy or if argv[4] and argv[
78 main(int argc, char **argv) argument
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.lazyprobe.c23 main(int argc, char **argv) argument
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/ustack/
H A Dtst.annotated.c36 main(int argc, char **argv) argument
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/ustack/
H A Dtst.annotated.c36 main(int argc, char **argv) argument
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/
H A Derr.uregswrite2.c19 main(int argc, char **argv) argument
/illumos-gate/usr/src/cmd/setpgrp/
H A Dsetpgrp.c39 main(int argc, char *argv[]) argument
43 cmd = *argv;
48 argv++;
51 (void) execvp(*argv, argv);
52 (void) fprintf(stderr, "%s: %s not executed. ", cmd, *argv);
/illumos-gate/usr/src/ucbcmd/echo/
H A Decho.c24 main(int argc, char *argv[]) argument
29 if (argc > 1 && argv[1][0] == '-' && argv[1][1] == 'n' && !argv[1][2]) {
32 argv++;
35 (void) fputs(argv[i], stdout);
/illumos-gate/usr/src/lib/libast/common/vec/
H A Dvecargs.c27 * string vector argv insertion
47 register char** argv; local
56 if (!(argv = newof(0, char*, num + *argcp + 1, 0)))
62 *argvp = argv;
63 *argv++ = *oargv++;
65 while (s = *argv = *vec++)
68 if (*s) argv++;
71 while (*argv = *oargv++) argv++;
72 *argcp = argv
[all...]
/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/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/fdetach/
H A Dfdetach.c44 main(int argc, char **argv) argument
46 if (argv[1] == NULL) {
50 if (fdetach(argv[1]) < 0) {
/illumos-gate/usr/src/lib/libcmd/common/
H A Dchown.c35 b_chown(int argc, char** argv, void* context) argument
38 return b_chgrp(argc, argv, context);
H A Dln.c32 b_ln(int argc, register char** argv, void* context) argument
34 return b_cp(argc, argv, context);
H A Dmd5sum.c32 b_md5sum(int argc, register char** argv, void* context) argument
34 return b_cksum(argc, argv, context);
H A Dmv.c32 b_mv(int argc, register char** argv, void* context) argument
34 return b_cp(argc, argv, context);
H A Dsum.c32 b_sum(int argc, register char** argv, void* context) argument
34 return b_cksum(argc, argv, context);
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dquick_exit_status.c23 main(int argc, const char *argv[]) argument
30 status = atoi(argv[1]);
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.set.c44 main(int argc, char *argv[]) argument
71 if (argv[1][0]) {
72 switch (set_pitch(argv[1], 'H', 1)) {
85 if (argv[2][0]) {
86 switch (set_pitch(argv[2], 'V', 1)) {
99 if (argv[3][0]) {
100 switch (set_size(argv[3], 'W', 1)) {
113 if (argv[4][0]) {
114 switch (set_size(argv[4], 'L', 1)) {
127 if (argv[
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dcommon.h47 int cmd_crypt(int argc, char *argv[]);
48 int cmd_discon(int argc, char *argv[]);
49 int cmd_help(int argc, char *argv[]);
50 int cmd_info(int argc, char *argv[]);
51 int cmd_login(int argc, char *argv[]);
52 int cmd_logout(int argc, char *argv[]);
53 int cmd_logoutall(int argc, char *argv[]);
54 int cmd_lookup(int argc, char *argv[]);
55 int cmd_print(int argc, char *argv[]);
56 int cmd_status(int argc, char *argv[]);
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil.c69 int main(argc, argv)
71 char *argv[];
86 com_err(argv[0], retval, gettext("while initializing krb5"));
91 com_err(argv[0], retval,
106 void ktutil_clear_list(argc, argv)
108 char *argv[];
113 fprintf(stderr, gettext("%s: invalid arguments\n"), argv[0]);
118 com_err(argv[0], retval, gettext("while freeing ktlist"));
122 void ktutil_read_v5(argc, argv)
124 char *argv[];
[all...]
/illumos-gate/usr/src/cmd/acpi/common/
H A Dgetopt.c183 * PARAMETERS: argc, argv - from main
191 * the option, or it is pointed to by the next argv entry.
193 * argv entry).
200 char **argv)
206 if (argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)] != '\0')
208 AcpiGbl_Optarg = &argv[AcpiGbl_Optind++][(int) (CurrentCharPtr+1)];
219 AcpiGbl_Optarg = argv[AcpiGbl_Optind++];
231 * PARAMETERS: argc, argv - from main
243 char **argv,
253 argv[AcpiGbl_Optin
198 AcpiGetoptArgument( int argc, char **argv) argument
241 AcpiGetopt( int argc, char **argv, char *opts) argument
[all...]

Completed in 98 milliseconds

1234567891011>>