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

1234567891011>>

/freebsd-current/usr.bin/getopt/
H A DMakefile3 PROG = getopt
/freebsd-current/tools/build/cross-build/include/common/
H A Dgetopt.h38 #define getopt __freebsd_getopt macro
47 /* Since we are building the FreeBSD getopt.c also use the matching header */
48 #include_next <getopt.h>
50 #undef getopt macro
51 #define getopt(argc, argv, optstr) __freebsd_getopt(argc, argv, optstr) macro
H A Dunistd.h38 #include <getopt.h>
/freebsd-current/contrib/libpcap/missing/
H A Dgetopt.h2 * Header for the getopt() we supply if the platform doesn't supply it.
4 extern char *optarg; /* getopt(3) external variables */
7 extern int getopt(int nargc, char * const *nargv, const char *ostr);
/freebsd-current/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-current/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostGetOpt.h14 #include <getopt.h>
/freebsd-current/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-current/contrib/ntp/sntp/libevent/WIN32-Code/
H A Dgetopt.h11 extern int optreset; /* reset getopt */
26 int getopt(int, char**, const char*);
/freebsd-current/contrib/libevent/WIN32-Code/
H A Dgetopt.h11 extern int optreset; /* reset getopt */
26 int getopt(int, char**, const char*);
/freebsd-current/contrib/libpcap/lbl/
H A Dos-ultrix4.h26 int getopt(int, char * const *, const char *);
/freebsd-current/contrib/tcpdump/lbl/
H A Dos-ultrix4.h27 int getopt(int, char * const *, const char *);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DGetOptInc.h23 // from getopt.h
38 int getopt(int argc, char *const argv[], const char *optstring);
40 // from getopt.h
49 #include <getopt.h>
/freebsd-current/contrib/libfido2/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-current/include/
H A Dgetopt.h1 /* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
41 * getopt() is declared here too for GNU programs.
68 int getopt(int, char * const [], const char *);
70 extern char *optarg; /* getopt(3) external variables */
75 extern int optreset; /* getopt(3) external variable */
/freebsd-current/contrib/unifdef/win32/
H A DMakefile.mingw6 unifdef.exe: unifdef.c win32/win32.c FreeBSD/getopt.c FreeBSD/err.c
10 win32.c ../FreeBSD/getopt.c ../FreeBSD/err.c && \
/freebsd-current/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 $ */
74 int getopt(int, char * const *, const char *) __THROW;
77 extern char *optarg; /* getopt(3) external variables */
/freebsd-current/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-current/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-current/sys/modules/rdma/krping/
H A DMakefile4 SRCS= krping.c krping_dev.c getopt.c
/freebsd-current/usr.bin/tty/
H A Dtty.c45 while ((ch = getopt(argc, argv, "s")) != -1)
/freebsd-current/contrib/wpa/wpa_supplicant/examples/p2p/
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_stop_find.py10 import getopt namespace
127 options, args = getopt.getopt(sys.argv[1:],"ht:i:w:")
129 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_disconnect.py11 import getopt namespace
122 options, args = getopt.getopt(sys.argv[1:],"hi:w:")
124 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:

Completed in 310 milliseconds

1234567891011>>