| /src/external/gpl3/gcc/dist/fixincludes/tests/base/rtldef/ |
| stdio.h | 13 #if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */ 14 int getopt (int, char * const [], const char *);
|
| /src/external/gpl3/gcc.old/dist/fixincludes/tests/base/rtldef/ |
| stdio.h | 13 #if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */ 14 int getopt (int, char * const [], const char *);
|
| /src/tests/usr.bin/xlint/lint1/ |
| msg_339.c | 8 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. 53 while ((o = getopt(argc, argv, "a")) != -1) {
|
| msg_338.c | 8 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 91 * its own error messages. Getopt returns ':' if an option is missing its 100 while ((c = getopt(argc, argv, ":b:o")) != -1) { 112 * If the first character of the options string is ':', getopt returns ': [all...] |
| /src/usr.bin/getopt/ |
| Makefile | 3 PROG = getopt
|
| /src/external/bsd/libpcap/dist/missing/ |
| 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);
|
| /src/external/bsd/nsd/dist/simdzone/compat/ |
| getopt.h | 2 * getopt.h -- getopt definitions for platform that are missing unistd.h 17 int getopt(int argc, char **argv, const char *opts);
|
| /src/external/bsd/openldap/dist/include/ |
| getopt-compat.h | 1 /* $NetBSD: getopt-compat.h,v 1.4 2025/09/05 21:16:19 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 *));
|
| /src/external/bsd/atf/dist/atf-c/ |
| tp_test.c | 37 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);
|
| /src/external/gpl3/binutils/dist/include/ |
| getopt.h | 1 /* 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 for the GNU C library. * [all...] |
| /src/external/gpl3/binutils.old/dist/include/ |
| getopt.h | 1 /* 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 for the GNU C library. * [all...] |
| /src/external/gpl3/gcc/dist/include/ |
| getopt.h | 1 /* 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 for the GNU C library. * [all...] |
| /src/external/gpl3/gcc.old/dist/include/ |
| getopt.h | 1 /* 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 for the GNU C library. * [all...] |
| /src/external/gpl3/gdb/dist/include/ |
| getopt.h | 1 /* 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 for the GNU C library. * [all...] |
| /src/external/gpl3/gdb.old/dist/include/ |
| getopt.h | 1 /* 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 for the GNU C library. * [all...] |
| /src/tools/compat/ |
| compat_getopt.h | 3 /* We unconditionally use the NetBSD getopt.h in libnbcompat. */ 6 #include <getopt.h> 17 #include "../../include/getopt.h"
|
| /src/external/bsd/atf/dist/atf-c++/detail/ |
| application_test.cpp | 58 // 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);
|
| /src/external/bsd/atf/dist/tools/ |
| application_test.cpp | 58 // 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);
|
| /src/external/bsd/libevent/dist/WIN32-Code/ |
| getopt.h | 1 /* $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*);
|
| /src/external/bsd/ntp/dist/sntp/libevent/WIN32-Code/ |
| getopt.h | 1 /* $NetBSD: getopt.h,v 1.2 2024/08/18 20:47:22 christos Exp $ */ 13 extern int optreset; /* reset getopt */ 28 int getopt(int, char**, const char*);
|
| /src/external/bsd/libpcap/dist/lbl/ |
| os-ultrix4.h | 28 int getopt(int, char * const *, const char *);
|
| /src/external/bsd/tcpdump/dist/lbl/ |
| os-ultrix4.h | 27 int getopt(int, char * const *, const char *);
|
| /src/external/gpl2/diffutils/dist/lib/ |
| getopt.h | 1 /* $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...] |
| /src/external/gpl2/grep/dist/lib/ |
| getopt.h | 1 /* $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...] |
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| getopt.d | 6 The getopt module implements a `getopt` function, which adheres to 17 $(HTTPS perldoc.perl.org/Getopt/Long.html, Getopt::Long) module. The syntax of 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. [all...] |