| /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/common/lib/libc/stdlib/ |
| getopt.c | 1 /* $NetBSD: getopt.c,v 1.2 2024/06/29 07:56:56 rin Exp $ */ 33 __RCSID("$NetBSD: getopt.c,v 1.2 2024/06/29 07:56:56 rin Exp $"); 54 __weak_alias(getopt,_getopt) 65 optreset; /* reset getopt */ 73 * getopt -- 77 getopt(int nargc, char * const nargv[], const char *ostr) function
|
| /src/external/bsd/nsd/dist/simdzone/compat/ |
| getopt.c | 3 #include "getopt.h" 7 * source for getopt(3). It is the code which was given out at the 1985 17 * Getopt itself is currently lenient about both of these things White 21 * The current SVR2 man page reflects the actual behavior of this getopt. 33 getopt( function
|
| /src/external/gpl3/autoconf/dist/lib/Autom4te/ |
| General.pm | 39 use Autom4te::Getopt (); 58 &getopt &shell_quote &mktmpdir 234 =item C<getopt (%option)> 236 Wrapper around C<Autom4te::Getopt::parse_options>. In addition to 243 # getopt (%OPTION) 246 sub getopt (%) subroutine 258 Autom4te::Getopt::parse_options (%option);
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| getopt.c | 1 /* $NetBSD: getopt.c,v 1.2 2017/01/28 21:31:50 christos Exp $ */ 33 static char sccsid[] = "@(#)getopt.c 8.1 (Berkeley) 6/4/93"; 52 int optreset; /* reset getopt */ 60 getopt(int nargc, char * const *nargv, const char *ostr) function
|
| /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/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.c | 1 /* $NetBSD: getopt.c,v 1.1.1.1 2021/04/07 02:43:15 christos Exp $ */ 2 /* NetBSD: getopt.c,v 1.16 1999/12/02 13:15:56 kleink Exp */ 34 static char sccsid[] = "@(#)getopt.c 8.3 (Berkeley) 4/27/95"; 46 __weak_alias(getopt,_getopt); 53 optreset; /* reset getopt */ 80 * getopt -- 84 getopt(nargc, nargv, ostr) function
|
| /src/external/bsd/libpcap/dist/missing/ |
| getopt.c | 35 static char sccsid[] = "@(#)getopt.c 8.3 (Berkeley) 4/27/95"; 42 #include "getopt.h" 47 optreset; /* reset getopt */ 55 * getopt -- 59 getopt(int nargc, char * const *nargv, const char *ostr) function
|
| /src/external/bsd/ntp/dist/sntp/libevent/WIN32-Code/ |
| getopt.c | 1 /* $NetBSD: getopt.c,v 1.2 2024/08/18 20:47:22 christos Exp $ */ 3 /* NetBSD: getopt.c,v 1.16 1999/12/02 13:15:56 kleink Exp */ 35 static char sccsid[] = "@(#)getopt.c 8.3 (Berkeley) 4/27/95"; 47 __weak_alias(getopt,_getopt); 54 optreset; /* reset getopt */ 81 * getopt -- 85 getopt(nargc, nargv, ostr) function
|
| /src/external/bsd/top/dist/ |
| getopt.c | 34 * "getopt" routine customized for top. 39 * in libc. The standard "getopt" is perfectly sufficient for top's 78 getopt(int argc, char **argv, char *opts) function
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| getopt.c | 1 /* $NetBSD: getopt.c,v 1.4 2025/09/05 21:16:23 christos Exp $ */ 3 /* getopt.c -- replacement getopt(3) routines */ 19 /* This work is based upon the public-domain getopt(3) routines 26 __RCSID("$NetBSD: getopt.c,v 1.4 2025/09/05 21:16:23 christos Exp $"); 59 printf("DF_TRACE_DEBUG: static void ERR () in getopt.c\n"); 76 int getopt (int argc, char * const argv [], const char * opts) function 83 printf("DF_TRACE_DEBUG: int getopt () in getopt.c\n");
|
| /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
| getopt_.h | 1 /* Declarations for getopt. 27 <stdlib.h> includes <getopt.h>, and <config.h> is not a prerequisite for 37 headers that might declare getopt so that they will not cause 47 # undef getopt macro 57 # define getopt __GETOPT_ID (getopt) macro 73 but it caused redefinition warnings if both unistd.h and getopt.h were 74 included, since unistd.h includes getopt.h having previously defined 116 /* For communication from `getopt' to the caller. 117 When `getopt' finds an option that takes an argument [all...] |
| getopt.c | 0 /* Getopt for GNU. 2 NOTE: getopt is now part of the C library, so if you don't know what 28 #include "getopt.h" 54 /* Unlike standard Unix `getopt', functions like `getopt_long' 61 Using `getopt' or setting the environment variable POSIXLY_CORRECT 70 /* For communication from `getopt' to the caller. 71 When `getopt' finds an option that takes an argument, 80 and for communication between successive calls to `getopt'. 82 On entry to `getopt', zero means this is the first call; initialize. 84 When `getopt' returns -1, this is the index of the first of th 1116 getopt (int argc, char *const *argv, const char *optstring) function [all...] |
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| getopt_.h | 1 /* Declarations for getopt. 27 <stdlib.h> includes <getopt.h>, and <config.h> is not a prerequisite for 37 headers that might declare getopt so that they will not cause 47 # undef getopt macro 57 # define getopt __GETOPT_ID (getopt) macro 73 but it caused redefinition warnings if both unistd.h and getopt.h were 74 included, since unistd.h includes getopt.h having previously defined 116 /* For communication from `getopt' to the caller. 117 When `getopt' finds an option that takes an argument [all...] |
| getopt.c | 0 /* Getopt for GNU. 2 NOTE: getopt is now part of the C library, so if you don't know what 28 #include "getopt.h" 54 /* Unlike standard Unix `getopt', functions like `getopt_long' 61 Using `getopt' or setting the environment variable POSIXLY_CORRECT 70 /* For communication from `getopt' to the caller. 71 When `getopt' finds an option that takes an argument, 80 and for communication between successive calls to `getopt'. 82 On entry to `getopt', zero means this is the first call; initialize. 84 When `getopt' returns -1, this is the index of the first of th 1116 getopt (int argc, char *const *argv, const char *optstring) function [all...] |
| /src/external/gpl2/groff/dist/src/include/ |
| getopt.h | 1 /* $NetBSD: getopt.h,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */ 3 /* Declarations for getopt. 31 headers that might declare getopt so that they will not cause 43 # undef getopt macro 53 # define getopt __GETOPT_ID (getopt) macro 69 but it caused redefinition warnings if both unistd.h and getopt.h were 70 included, since unistd.h includes getopt.h having previously defined 112 /* For communication from `getopt' to the caller. 113 When `getopt' finds an option that takes an argument [all...] |
| /src/external/gpl2/xcvs/dist/lib/ |
| getopt_.h | 1 /* Declarations for getopt. 29 headers that might declare getopt so that they will not cause 41 # undef getopt macro 51 # define getopt __GETOPT_ID (getopt) macro 67 but it caused redefinition warnings if both unistd.h and getopt.h were 68 included, since unistd.h includes getopt.h having previously defined 110 /* For communication from `getopt' to the caller. 111 When `getopt' finds an option that takes an argument, 120 and for communication between successive calls to `getopt' [all...] |
| /src/external/gpl2/texinfo/dist/lib/ |
| getopt.c | 1 /* $NetBSD: getopt.c,v 1.3 2026/01/09 00:35:00 mrg Exp $ */ 3 /* Getopt for GNU. 4 NOTE: getopt is now part of the C library, so if you don't know what 26 /* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>. 42 contain conflicting prototypes for getopt. */ 68 /* This version of `getopt' appears to the caller like standard Unix `getopt' 72 As `getopt' works, it permutes the elements of ARGV so that, 82 #include "getopt.h" 85 /* For communication from `getopt' to the caller 1159 getopt (int argc, char *const *argv, const char *optstring) function [all...] |
| /src/external/gpl3/gdb/dist/contrib/ |
| dg-extract-results.py | 11 import getopt namespace 182 (options, self.files) = getopt.getopt (sys.argv[1:], 'l:t:L') 192 except getopt.GetoptError as e:
|
| /src/lib/libc/stdlib/ |
| getopt_long.c | 47 #include <getopt.h> 58 __weak_alias(getopt,_getopt) 63 int optreset; /* reset getopt */ 259 /* XXX: what if no long options provided (called by getopt)? */ 272 * Handle -W arg the same as --arg (which causes getopt to 304 * getopt -- 307 * [eventually this will replace the real getopt] 310 getopt(int nargc, char * const *nargv, const char *options) function
|
| /src/external/bsd/file/dist/src/ |
| getopt_long.c | 52 #include <getopt.h> 67 __weak_alias(getopt,_getopt) 72 int optreset; /* reset getopt */ 277 /* XXX: what if no long options provided (called by getopt)? */ 290 * Handle -W arg the same as --arg (which causes getopt to 322 * getopt -- 325 * [eventually this will replace the real getopt] 328 getopt(nargc, nargv, options) function
|
| /src/external/bsd/libfido2/dist/openbsd-compat/ |
| getopt_long.c | 59 #include <getopt.h> 69 int optreset; /* reset getopt */ 475 * getopt -- 478 * [eventually this will replace the BSD getopt] 481 getopt(int nargc, char * const *nargv, const char *options) function 486 * the BSD getopt(3) (unlike GNU) has never done this. 488 * Furthermore, since many privileged programs call getopt()
|
| /src/external/bsd/tcpdump/dist/missing/ |
| getopt_long.c | 166 * of getopt() - and thus getopt_long() - 590 * getopt -- 593 * [eventually this will replace the BSD getopt] 596 getopt(int nargc, char * const *nargv, const char *options) function 601 * the BSD getopt(3) (unlike GNU) has never done this. 603 * Furthermore, since many privileged programs call getopt()
|