Searched refs:getopt (Results 1 - 25 of 876) sorted by relevance

1234567891011>>

/freebsd-10.0-release/usr.bin/getopt/
H A DMakefile4 PROG = getopt
H A Dgetopt.c20 while ((c = getopt(argc, argv, argv[1])) != -1)
23 status = 1; /* getopt routine gave message */
/freebsd-10.0-release/contrib/atf/atf-c/
H A Dtp_test.c37 ATF_TC(getopt); variable
38 ATF_TC_HEAD(getopt, tc)
40 atf_tc_set_md_var(tc, "descr", "Checks if getopt(3) global state is "
42 "getopt(3) again");
44 ATF_TC_BODY(getopt, tc)
60 * same driver to start, we can test getopt(3) right here without doing
63 while ((ch = getopt(argc, argv, ":Z")) != -1) {
78 "after the call to getopt(3)");
95 ATF_TP_ADD_TC(tp, getopt);
/freebsd-10.0-release/contrib/gcclibs/include/
H A Dgetopt.h1 /* Declarations for getopt.
30 /* For communication from `getopt' to the caller.
31 When `getopt' finds an option that takes an argument,
40 and for communication between successive calls to `getopt'.
42 On entry to `getopt', zero means this is the first call; initialize.
44 When `getopt' returns -1, this is the index of the first of the
52 /* Callers store zero here to inhibit the error message `getopt' prints
79 one). For long options that have a zero `flag' field, `getopt'
110 /* Many other libraries have conflicting prototypes for getopt, with
112 errors, only prototype getopt fo
[all...]
/freebsd-10.0-release/contrib/gdb/include/
H A Dgetopt.h1 /* Declarations for getopt.
30 /* For communication from `getopt' to the caller.
31 When `getopt' finds an option that takes an argument,
40 and for communication between successive calls to `getopt'.
42 On entry to `getopt', zero means this is the first call; initialize.
44 When `getopt' returns -1, this is the index of the first of the
52 /* Callers store zero here to inhibit the error message `getopt' prints
79 one). For long options that have a zero `flag' field, `getopt'
110 /* Many other libraries have conflicting prototypes for getopt, with
112 errors, only prototype getopt fo
[all...]
/freebsd-10.0-release/contrib/atf/atf-c++/detail/
H A Dapplication_test.cpp58 // same driver to start, we can test getopt(3) right here without doing
61 while ((ch = ::getopt(argc, argv, ":Z")) != -1) {
82 ATF_TEST_CASE_WITHOUT_HEAD(getopt); variable
83 ATF_TEST_CASE_BODY(getopt)
93 ATF_ADD_TEST_CASE(tcs, getopt);
/freebsd-10.0-release/contrib/libpcap/lbl/
H A Dos-ultrix4.h29 int getopt(int, char * const *, const char *);
/freebsd-10.0-release/contrib/tcpdump/lbl/
H A Dos-ultrix4.h29 int getopt(int, char * const *, const char *);
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dgetopt.h1 /* $OpenBSD: getopt.h,v 1.2 2008/06/26 05:42:04 ray Exp $ */
2 /* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
63 int getopt(int, char * const *, const char *);
66 extern char *optarg; /* getopt(3) external variables */
/freebsd-10.0-release/include/
H A Dgetopt.h1 /* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
40 * getopt() is declared here too for GNU programs.
67 int getopt(int, char * const [], const char *);
69 extern char *optarg; /* getopt(3) external variables */
74 extern int optreset; /* getopt(3) external variable */
/freebsd-10.0-release/contrib/diff/lib/
H A Dgetopt.h1 /* Declarations for getopt.
52 /* For communication from `getopt' to the caller.
53 When `getopt' finds an option that takes an argument,
62 and for communication between successive calls to `getopt'.
64 On entry to `getopt', zero means this is the first call; initialize.
66 When `getopt' returns -1, this is the index of the first of the
74 /* Callers store zero here to inhibit the error message `getopt' prints
102 one). For long options that have a zero `flag' field, `getopt'
120 #endif /* need getopt */
137 optional. This behavior is specific to the GNU `getopt'
[all...]
/freebsd-10.0-release/contrib/gcc/
H A DFREEBSD-libiberty10 getopt.c \
28 getopt.h \
/freebsd-10.0-release/usr.bin/tty/
H A Dtty.c58 while ((ch = getopt(argc, argv, "s")) != -1)
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_disconnect.py11 import getopt
122 options, args = getopt.getopt(sys.argv[1:],"hi:w:")
124 except getopt.GetoptError:
H A Dp2p_find.py12 import getopt
133 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:")
135 except getopt.GetoptError:
H A Dp2p_flush.py12 import getopt
122 options, args = getopt.getopt(sys.argv[1:],"hi:w:")
124 except getopt.GetoptError:
H A Dp2p_listen.py12 import getopt
123 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:")
125 except getopt.GetoptError:
H A Dp2p_stop_find.py10 import getopt
127 options, args = getopt.getopt(sys.argv[1:],"ht:i:w:")
129 except getopt.GetoptError:
/freebsd-10.0-release/sbin/nvmecontrol/
H A Dreset.c55 while ((ch = getopt(argc, argv, "")) != -1) {
/freebsd-10.0-release/sys/modules/rdma/krping/
H A DMakefile7 SRCS= krping.c krping_dev.c getopt.c
/freebsd-10.0-release/tools/regression/atm/
H A DFuncs.sh24 args=`getopt b:hqu $*`
/freebsd-10.0-release/usr.bin/dirname/
H A Ddirname.c56 while ((ch = getopt(argc, argv, "")) != -1)
/freebsd-10.0-release/usr.sbin/accton/
H A Daccton.c58 while ((ch = getopt(argc, argv, "")) != -1)
/freebsd-10.0-release/tools/tools/kernxref/
H A Dkernxref.sh21 args=`getopt h?k:s: $*`;
/freebsd-10.0-release/tools/tools/mctest/
H A Dmctest_run.sh19 args=`getopt s:g:n:c:l:f:b: $*`

Completed in 135 milliseconds

1234567891011>>