Searched defs:argv (Results 51 - 75 of 1791) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dgc.c34 cmd_gc(fmd_adm_t *adm, int argc, char *argv[]) argument
41 if ((mod = strrchr(argv[1], '/')) == NULL)
42 mod = argv[1];
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/acct/
H A Dacctcon2.c46 main(int argc, char **argv) argument
H A Dutmp2wtmp.c45 main(int argc, char **argv) argument
52 fprintf(stderr, "%s: %s: %s\n", argv[0],
H A Dacctwtmp.c45 main(int argc, char **argv) argument
51 argv[0]), exit(1);
53 (void) strncpy(wb.ut_line, argv[1], sizeof (wb.ut_line));
57 utmpxname(argv[2]);
/illumos-gate/usr/src/cmd/tip/
H A Dcu.c23 cumain(int argc, char *argv[]) argument
35 for (; argc > 1; argv++, argc--) {
36 if (argv[1][0] != '-')
37 PN = argv[1];
38 else if (argv[1][1] != '\0' && argv[1][2] != '\0') {
41 argv[1]);
43 } else switch (argv[1][1]) {
51 CU = argv[2]; ++argv;
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Ddomainname.c51 main(int argc, char *argv[]) argument
57 argv++;
59 if (setdomainname(*argv, strlen(*argv)) < 0) {
/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/misc/
H A Dprocrun.c37 procrun(const char* path, char** argv, int flags) argument
40 flags &= argv ? PROC_ARGMOD : PROC_CHECK;
48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/
H A Dmmap_exec.c41 main(int argc, char *argv[]) argument
49 argv[0]);
55 if ((fd = open(argv[1], O_RDONLY)) < 0) {
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_syscall.c9 main(int argc, char **argv) argument
/illumos-gate/usr/src/cmd/spell/
H A Dhashmake.c40 main(int argc, char **argv) argument
/illumos-gate/usr/src/test/zfs-tests/cmd/has_unmap/
H A Dhas_unmap.c27 main(int argc, char **argv) argument
36 if ((fd = open(argv[1], O_RDONLY)) == -1) {
37 fprintf(stderr, "couldn't open %s: %s\n", argv[1],
43 fprintf(stderr, "ioctl failed %s: %s\n", argv[1],
/illumos-gate/usr/src/lib/libpp/common/
H A Dppsym.c35 main(int argc, char** argv) argument
45 if (*++argv)
47 while (s = *argv++)
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_session.c41 const char **argv)
55 const char **argv)
37 pam_sm_open_session( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
51 pam_sm_close_session( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
/illumos-gate/usr/src/lib/pam_modules/sample/
H A Dsample_setcred.c44 const char **argv)
40 pam_sm_setcred( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dpmain.c35 int main(int argc, char *argv[]) argument
46 return(sh_main(argc, argv, (Shinit_f)0));
/illumos-gate/usr/src/lib/libmail/common/
H A Dsystemvp.c32 * routines. This version takes an argv[][] argument instead of a string
50 systemvp(char *file, char **argv, int resetid) argument
61 (void) execvp(file, argv);
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dalign.c41 main(int argc, char ** argv) argument
H A Dfailwide.c41 main(int argc, char ** argv) argument
H A Dwideload.c40 main(int argc, char ** argv) argument
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dexecve.c33 execve(char *file, char **argv, char **arge) argument
68 return (_syscall(SYS_execve, file, argv, arge));
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dexecve.c32 execve(char *file, char **argv, char **arge) argument
65 return (_syscall(SYS_execve, file, argv, arge));
/illumos-gate/usr/src/lib/libcmd/common/
H A Dlogname.c53 b_logname(int argc, char** argv, void* context) argument
57 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
60 switch (optget(argv, usage))
/illumos-gate/usr/src/cmd/unlink/
H A Dunlink.c39 main(int argc, char **argv) argument
58 if (res = unlink(argv[1]))

Completed in 190 milliseconds

1234567891011>>