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

1234567891011>>

/netbsd-current/external/gpl3/gcc/dist/fixincludes/tests/base/rtldef/
H A Dstdio.h13 #if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */
14 int getopt (int, char * const [], const char *);
/netbsd-current/external/gpl3/gcc.old/dist/fixincludes/tests/base/rtldef/
H A Dstdio.h13 #if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */
14 int getopt (int, char * const [], const char *);
/netbsd-current/tests/usr.bin/xlint/lint1/
H A Dmsg_339.c8 int getopt(int, char *const *, const char *);
18 while ((o = getopt(argc, argv, "a:bc:d")) != -1) {
25 * for the getopt options.
37 * ignored by the check for getopt options.
H A Dmsg_338.c8 int getopt(int, char *const *, const char *);
18 while ((o = getopt(argc, argv, "a:bc:d")) != -1) {
25 * for the getopt options.
37 * ignored by the check for getopt options.
50 /* A while loop that is not related to getopt is simply skipped. */
74 while ((c = getopt(argc, argv, "?x")) != -1) {
90 * If the first character of the options string is ':', getopt does not print
100 while ((c = getopt(argc, argv, ":b:o")) != -1) {
112 * If the first character of the options string is ':', getopt returns ':'
114 * separately from '?', which getopt return
[all...]
/netbsd-current/usr.bin/getopt/
H A DMakefile3 PROG = getopt
/netbsd-current/external/bsd/libpcap/dist/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);
/netbsd-current/external/bsd/openldap/dist/include/
H A Dgetopt-compat.h1 /* $NetBSD: getopt-compat.h,v 1.3 2021/08/14 16:14:55 christos Exp $ */
3 /* getopt-compat.h -- getopt(3) compatibility header */
20 * getopt(3) declarations
34 #define getopt lutil_getopt macro
38 LDAP_LUTIL_F (int) getopt LDAP_P(( int, char * const [], const char *));
/netbsd-current/external/bsd/atf/dist/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);
/netbsd-current/external/gpl2/gmake/dist/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
103 /* Many other libraries have conflicting prototypes for getopt, with
105 errors, only prototype getopt fo
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/include/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
109 /* Many other libraries have conflicting prototypes for getopt, with
111 errors, only prototype getopt fo
[all...]
/netbsd-current/external/gpl3/binutils/dist/include/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
109 /* Many other libraries have conflicting prototypes for getopt, with
111 errors, only prototype getopt fo
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/include/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
109 /* Many other libraries have conflicting prototypes for getopt, with
111 errors, only prototype getopt fo
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/include/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
109 /* Many other libraries have conflicting prototypes for getopt, with
111 errors, only prototype getopt fo
[all...]
/netbsd-current/external/gpl3/gcc/dist/include/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
109 /* Many other libraries have conflicting prototypes for getopt, with
111 errors, only prototype getopt fo
[all...]
/netbsd-current/external/gpl3/gdb/dist/include/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
109 /* Many other libraries have conflicting prototypes for getopt, with
111 errors, only prototype getopt fo
[all...]
/netbsd-current/external/bsd/atf/dist/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);
/netbsd-current/external/bsd/atf/dist/tools/
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);
/netbsd-current/tools/compat/
H A Dcompat_getopt.h3 /* We unconditionally use the NetBSD getopt.h in libnbcompat. */
6 #include <getopt.h>
17 #include "../../include/getopt.h"
/netbsd-current/external/bsd/libevent/dist/WIN32-Code/
H A Dgetopt.h1 /* $NetBSD: getopt.h,v 1.1.1.1 2021/04/07 02:43:15 christos Exp $ */
12 extern int optreset; /* reset getopt */
27 int getopt(int, char**, const char*);
/netbsd-current/external/bsd/libpcap/dist/lbl/
H A Dos-ultrix4.h28 int getopt(int, char * const *, const char *);
/netbsd-current/external/bsd/tcpdump/dist/lbl/
H A Dos-ultrix4.h27 int getopt(int, char * const *, const char *);
/netbsd-current/external/gpl2/diffutils/dist/lib/
H A Dgetopt.h1 /* $NetBSD: getopt.h,v 1.1.1.1 2016/01/13 03:15:30 christos Exp $ */
3 /* Declarations for getopt.
42 /* For communication from `getopt' to the caller.
43 When `getopt' finds an option that takes an argument,
52 and for communication between successive calls to `getopt'.
54 On entry to `getopt', zero means this is the first call; initialize.
56 When `getopt' returns -1, this is the index of the first of the
64 /* Callers store zero here to inhibit the error message `getopt' prints
92 one). For long options that have a zero `flag' field, `getopt'
114 #endif /* need getopt */
[all...]
/netbsd-current/external/gpl2/grep/dist/lib/
H A Dgetopt.h1 /* $NetBSD: getopt.h,v 1.1.1.1 2016/01/10 21:36:18 christos Exp $ */
3 /* Declarations for getopt.
32 /* For communication from `getopt' to the caller.
33 When `getopt' finds an option that takes an argument,
42 and for communication between successive calls to `getopt'.
44 On entry to `getopt', zero means this is the first call; initialize.
46 When `getopt' returns -1, this is the index of the first of the
54 /* Callers store zero here to inhibit the error message `getopt' prints
82 one). For long options that have a zero `flag' field, `getopt'
104 #endif /* need getopt */
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/
H A Dgetopt.d6 The getopt module implements a `getopt` function, which adheres to
18 D's `getopt` is simpler than its Perl counterpart because $(D
19 getopt) infers the expected parameter types from the static types of
21 Source: $(PHOBOSSRC std/getopt.d)
29 module std.getopt;
38 `std.getopt.config.passThrough` was not present.)
40 `std.getopt.config.required` was present.)
58 import std.getopt;
68 auto helpInformation = getopt(
[all...]
/netbsd-current/external/bsd/pkg_install/dist/admin/
H A Ddownload-vulnerability-list.sh.in13 args=`getopt c:hs $*`

Completed in 363 milliseconds

1234567891011>>