/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | execv.c | 28 * execv(file, argv) 30 * where argv is a vector argv[0] ... argv[x], NULL 35 execv(char *file, char **argv) argument 39 return (execve(file, argv, environ));
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_policy.h | 37 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 D | load.c | 33 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 D | process_command.c | 44 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 D | kadmin.h | 36 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 D | s10_replacefile.c | 61 * 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 D | tst.lazyprobe.c | 23 main(int argc, char **argv) argument
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/ustack/ |
H A D | tst.annotated.c | 36 main(int argc, char **argv) argument
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/ustack/ |
H A D | tst.annotated.c | 36 main(int argc, char **argv) argument
|
/illumos-gate/usr/src/cmd/setpgrp/ |
H A D | setpgrp.c | 39 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 D | echo.c | 24 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/cmd/fs.d/smbclnt/smbutil/ |
H A D | common.h | 43 int cmd_crypt(int argc, char *argv[]); 44 int cmd_help(int argc, char *argv[]); 45 int cmd_login(int argc, char *argv[]); 46 int cmd_logout(int argc, char *argv[]); 47 int cmd_logoutall(int argc, char *argv[]); 48 int cmd_lookup(int argc, char *argv[]); 49 int cmd_print(int argc, char *argv[]); 50 int cmd_status(int argc, char *argv[]); 51 int cmd_view(int argc, char *argv[]);
|
/illumos-gate/usr/src/lib/libast/common/vec/ |
H A D | vecargs.c | 27 * 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 D | option.c | 37 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 D | fold.c | 53 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 D | fdetach.c | 44 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 D | chown.c | 35 b_chown(int argc, char** argv, void* context) argument 38 return b_chgrp(argc, argv, context);
|
H A D | ln.c | 32 b_ln(int argc, register char** argv, void* context) argument 34 return b_cp(argc, argv, context);
|
H A D | md5sum.c | 32 b_md5sum(int argc, register char** argv, void* context) argument 34 return b_cksum(argc, argv, context);
|
H A D | mv.c | 32 b_mv(int argc, register char** argv, void* context) argument 34 return b_cp(argc, argv, context);
|
H A D | sum.c | 32 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 D | quick_exit_status.c | 23 main(int argc, const char *argv[]) argument 30 status = atoi(argv[1]);
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | main.c | 45 uchar *cmdname; /* gets argv[0] for error messages */ 56 main(int argc, char *argv[], char *envp[]) argument 71 cmdname = (uchar *)argv[0]; 81 while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') { 82 if (strcmp(argv[1], "--") == 0) { 85 argv++; 88 switch (argv[1][1]) { 91 argv++; 97 pfile[npfile++] = (uchar *)argv[ [all...] |
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.set.c | 44 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/krb5/kadmin/ktutil/ |
H A D | ktutil.c | 69 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...] |