/freebsd-11-stable/usr.bin/getopt/ |
H A D | Makefile | 4 PROG = getopt
|
H A D | getopt.c | 2 __FBSDID("$FreeBSD: stable/11/usr.bin/getopt/getopt.c 332463 2018-04-13 03:30:10Z kevans $"); 26 while ((c = getopt(argc, argv, argv[1])) != -1) 29 status = 1; /* getopt routine gave message */
|
/freebsd-11-stable/contrib/libpcap/missing/ |
H A D | getopt.h | 2 * 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-11-stable/contrib/atf/atf-c/ |
H A D | tp_test.c | 33 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-11-stable/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | HostGetOpt.h | 13 #define _BSD_SOURCE // Required so that getopt.h defines optreset 16 #include <getopt.h>
|
/freebsd-11-stable/contrib/gcclibs/include/ |
H A D | getopt.h | 1 /* 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-11-stable/contrib/gdb/include/ |
H A D | getopt.h | 1 /* 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-11-stable/contrib/atf/atf-c++/detail/ |
H A D | application_test.cpp | 54 // 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-11-stable/contrib/libpcap/lbl/ |
H A D | os-ultrix4.h | 26 int getopt(int, char * const *, const char *);
|
/freebsd-11-stable/contrib/tcpdump/lbl/ |
H A D | os-ultrix4.h | 27 int getopt(int, char * const *, const char *);
|
/freebsd-11-stable/contrib/gperf/lib/ |
H A D | Makefile.in | 65 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-11-stable/contrib/llvm-project/lldb/include/lldb/Host/common/ |
H A D | GetOptInc.h | 14 // from getopt.h 29 int getopt(int argc, char *const argv[], const char *optstring); 31 // from getopt.h 40 #include <getopt.h>
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | getopt.h | 1 /* $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-11-stable/include/ |
H A D | getopt.h | 1 /* $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-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_getopt.sh | 50 atf_test_case getopt 53 atf_set "descr" "Checks getopt(3)" 121 atf_add_test_case getopt
|
/freebsd-11-stable/contrib/diff/lib/ |
H A D | getopt.h | 1 /* 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-11-stable/contrib/gcc/ |
H A D | FREEBSD-libiberty | 10 getopt.c \ 28 getopt.h \
|
/freebsd-11-stable/usr.bin/tty/ |
H A D | tty.c | 58 while ((ch = getopt(argc, argv, "s")) != -1)
|
/freebsd-11-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd_main.cc | 77 while ((ch = getopt(argc, argv, "d")) != -1) {
|
/freebsd-11-stable/tools/regression/atm/ |
H A D | Funcs.sh | 24 args=`getopt b:hqu $*`
|
/freebsd-11-stable/usr.sbin/accton/ |
H A D | accton.c | 58 while ((ch = getopt(argc, argv, "")) != -1)
|
/freebsd-11-stable/sbin/nvmecontrol/ |
H A D | reset.c | 57 while ((ch = getopt(argc, argv, "")) != -1) {
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/examples/p2p/ |
H A D | p2p_find.py | 12 import getopt namespace 133 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:") 135 except getopt.GetoptError:
|
H A D | p2p_stop_find.py | 10 import getopt namespace 127 options, args = getopt.getopt(sys.argv[1:],"ht:i:w:") 129 except getopt.GetoptError:
|
H A D | p2p_listen.py | 12 import getopt namespace 123 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:") 125 except getopt.GetoptError:
|