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

1234567891011>>

/freebsd-10.3-release/usr.bin/getopt/
H A DMakefile1 # $FreeBSD: releng/10.3/usr.bin/getopt/Makefile 90415 2002-02-08 22:31:43Z markm $
4 PROG = getopt
H A Dgetopt.c2 __FBSDID("$FreeBSD: releng/10.3/usr.bin/getopt/getopt.c 200462 2009-12-13 03:14:06Z delphij $");
20 while ((c = getopt(argc, argv, argv[1])) != -1)
23 status = 1; /* getopt routine gave message */
/freebsd-10.3-release/contrib/atf/atf-c/
H A Dtp_test.c33 ATF_TC(getopt); variable
34 ATF_TC_HEAD(getopt, tc)
36 atf_tc_set_md_var(tc, "descr", "Checks if getopt(3) global state is "
38 "getopt(3) again");
40 ATF_TC_BODY(getopt, tc)
56 * same driver to start, we can test getopt(3) right here without doing
59 while ((ch = getopt(argc, argv, ":Z")) != -1) {
74 "after the call to getopt(3)");
85 ATF_TP_ADD_TC(tp, getopt);
/freebsd-10.3-release/contrib/llvm/tools/lldb/include/lldb/Host/
H A DHostGetOpt.h14 #include <getopt.h>
/freebsd-10.3-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.3-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.3-release/contrib/atf/atf-c++/detail/
H A Dapplication_test.cpp54 // same driver to start, we can test getopt(3) right here without doing
57 while ((ch = ::getopt(argc, argv, ":Z")) != -1) {
78 ATF_TEST_CASE_WITHOUT_HEAD(getopt); variable
79 ATF_TEST_CASE_BODY(getopt)
89 ATF_ADD_TEST_CASE(tcs, getopt);
/freebsd-10.3-release/contrib/gperf/lib/
H A DMakefile.in65 OBJECTS = getopt.$(OBJEXT) getopt1.$(OBJEXT) getline.$(OBJEXT) hash.$(OBJEXT)
86 getopt.o : getopt.c getopt.h
87 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/getopt.c
89 getopt1.o : getopt1.c getopt.h
/freebsd-10.3-release/contrib/tcpdump/lbl/
H A Dos-ultrix4.h29 int getopt(int, char * const *, const char *);
/freebsd-10.3-release/contrib/libpcap/lbl/
H A Dos-ultrix4.h29 int getopt(int, char * const *, const char *);
/freebsd-10.3-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.3-release/include/
H A Dgetopt.h1 /* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
2 /* $FreeBSD: releng/10.3/include/getopt.h 203963 2010-02-16 19:28:10Z imp $ */
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.3-release/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_getopt.sh50 atf_test_case getopt
53 atf_set "descr" "Checks getopt(3)"
121 atf_add_test_case getopt
/freebsd-10.3-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.3-release/contrib/gcc/
H A DFREEBSD-libiberty10 getopt.c \
28 getopt.h \
/freebsd-10.3-release/usr.bin/tty/
H A Dtty.c58 while ((ch = getopt(argc, argv, "s")) != -1)
/freebsd-10.3-release/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_disconnect.py11 import getopt namespace
122 options, args = getopt.getopt(sys.argv[1:],"hi:w:")
124 except getopt.GetoptError:
H A Dp2p_find.py12 import getopt namespace
133 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:")
135 except getopt.GetoptError:
H A Dp2p_flush.py12 import getopt namespace
122 options, args = getopt.getopt(sys.argv[1:],"hi:w:")
124 except getopt.GetoptError:
H A Dp2p_listen.py12 import getopt namespace
123 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:")
125 except getopt.GetoptError:
H A Dp2p_stop_find.py10 import getopt namespace
127 options, args = getopt.getopt(sys.argv[1:],"ht:i:w:")
129 except getopt.GetoptError:
/freebsd-10.3-release/sbin/nvmecontrol/
H A Dreset.c55 while ((ch = getopt(argc, argv, "")) != -1) {
/freebsd-10.3-release/sys/modules/rdma/krping/
H A DMakefile7 SRCS= krping.c krping_dev.c getopt.c
/freebsd-10.3-release/tools/regression/atm/
H A DFuncs.sh24 args=`getopt b:hqu $*`
/freebsd-10.3-release/usr.sbin/accton/
H A Daccton.c58 while ((ch = getopt(argc, argv, "")) != -1)

Completed in 343 milliseconds

1234567891011>>