Defined in 20 files as a prototype:
- external/bsd/file/dist/src/file.c, line 79 (as a prototype)
- external/bsd/file/dist/src/mygetopt.h, line 67 (as a prototype)
- external/bsd/libevent/dist/WIN32-Code/getopt.h, line 28 (as a prototype)
- external/bsd/libfido2/dist/openbsd-compat/getopt.h, line 57 (as a prototype)
- external/bsd/tcpdump/dist/getopt_long.h, line 58 (as a prototype)
- external/gpl2/diffutils/dist/lib/getopt.h, line 152 (as a prototype)
- external/gpl2/diffutils/dist/lib/getopt.h, line 167 (as a prototype)
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/getopt_.h, line 215 (as a prototype)
- external/gpl2/gmake/dist/getopt.h, line 110 (as a prototype)
- external/gpl2/gmake/dist/getopt.h, line 123 (as a prototype)
- external/gpl2/grep/dist/lib/getopt.h, line 142 (as a prototype)
- external/gpl2/grep/dist/lib/getopt.h, line 157 (as a prototype)
- external/gpl2/groff/dist/src/include/getopt.h, line 211 (as a prototype)
- external/gpl2/texinfo/dist/lib/getopt_.h, line 160 (as a prototype)
- external/gpl2/xcvs/dist/lib/getopt_.h, line 209 (as a prototype)
- external/gpl3/binutils.old/dist/include/getopt.h, line 120 (as a prototype)
- external/gpl3/binutils.old/dist/include/getopt.h, line 133 (as a prototype)
- external/gpl3/binutils/dist/include/getopt.h, line 120 (as a prototype)
- external/gpl3/binutils/dist/include/getopt.h, line 133 (as a prototype)
- include/getopt.h, line 60 (as a prototype)
Defined in 6 files as a macro:
Defined in 13 files as a function:
- external/bsd/file/dist/src/getopt_long.c, line 362 (as a function)
- external/bsd/libevent/dist/WIN32-Code/getopt_long.c, line 161 (as a function)
- external/bsd/tcpdump/dist/missing/getopt_long.c, line 593 (as a function)
- external/gpl2/diffutils/dist/lib/getopt1.c, line 68 (as a function)
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/getopt1.c, line 41 (as a function)
- external/gpl2/gmake/dist/getopt1.c, line 69 (as a function)
- external/gpl2/grep/dist/lib/getopt1.c, line 69 (as a function)
- external/gpl2/groff/dist/src/libs/libgroff/getopt1.c, line 46 (as a function)
- external/gpl2/texinfo/dist/lib/getopt1.c, line 46 (as a function)
- external/gpl2/xcvs/dist/lib/getopt1.c, line 47 (as a function)
- external/gpl3/binutils.old/dist/libiberty/getopt1.c, line 68 (as a function)
- external/gpl3/binutils/dist/libiberty/getopt1.c, line 68 (as a function)
- lib/libc/stdlib/getopt_long.c, line 341 (as a function)
Referenced in 225 files:
- bin/chmod/chmod.c, line 87
- bin/pax/getoldopt.c, line 65
- bin/pax/options.c, line 290
- crypto/external/bsd/netpgp/dist/src/netpgp/netpgp.c, line 544
- crypto/external/bsd/netpgp/dist/src/netpgpkeys/netpgpkeys.c, line 415
- crypto/external/cpl/tpm-tools/dist/lib/tpm_utils.c, line 80
- crypto/external/cpl/trousers/dist/src/tcsd/svrside.c, line 435
- external/bsd/bc/dist/main.c, line 99
- external/bsd/dhcpcd/dist/src/dhcpcd.c, 2 times
- external/bsd/dhcpcd/dist/src/if-options.c, line 2726
- external/bsd/file/dist/src/file.c, line 231
- external/bsd/file/dist/src/getopt_long.c, line 79
- external/bsd/kyua-cli/dist/utils/cmdline/parser.cpp, line 338
- external/bsd/kyua-cli/dist/utils/cmdline/parser_test.cpp, line 209
- external/bsd/libfido2/dist/openbsd-compat/getopt_long.c, line 501
- external/bsd/liblzf/dist/lzf.c, line 471
- external/bsd/pam-u2f/bin/pamu2fcfg/cmdline.c, line 547
- external/bsd/pdisk/dist/pdisk.c, line 437
- external/bsd/tcpdump/dist/tcpdump.c, line 1191
- external/bsd/top/dist/top.c, line 340
- external/bsd/tre/dist/src/agrep.c, line 592
- external/gpl2/diffutils/dist/lib/getopt1.c, line 124
- external/gpl2/diffutils/dist/src/cmp.c, line 209
- external/gpl2/diffutils/dist/src/diff.c, line 281
- external/gpl2/diffutils/dist/src/diff3.c, line 259
- external/gpl2/diffutils/dist/src/sdiff.c, line 471
- external/gpl2/dtc/dist/util.h, line 219
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/getopt1.c, line 106
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/getopt_.h, line 48
- external/gpl2/gettext/dist/gettext-runtime/src/envsubst.c, line 91
- external/gpl2/gettext/dist/gettext-runtime/src/gettext.c, line 99
- external/gpl2/gettext/dist/gettext-runtime/src/ngettext.c, line 95
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/getopt1.c, line 106
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/getopt_.h, line 48
- external/gpl2/gettext/dist/gettext-tools/src/hostname.c, line 149
- external/gpl2/gettext/dist/gettext-tools/src/msgattrib.c, line 174
- external/gpl2/gettext/dist/gettext-tools/src/msgcat.c, line 144
- external/gpl2/gettext/dist/gettext-tools/src/msgcmp.c, line 114
- external/gpl2/gettext/dist/gettext-tools/src/msgcomm.c, line 143
- external/gpl2/gettext/dist/gettext-tools/src/msgconv.c, line 133
- external/gpl2/gettext/dist/gettext-tools/src/msgen.c, line 126
- external/gpl2/gettext/dist/gettext-tools/src/msgexec.c, line 134
- external/gpl2/gettext/dist/gettext-tools/src/msgfilter.c, line 189
- external/gpl2/gettext/dist/gettext-tools/src/msgfmt.c, line 231
- external/gpl2/gettext/dist/gettext-tools/src/msggrep.c, line 198
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, line 184
- external/gpl2/gettext/dist/gettext-tools/src/msgmerge.c, line 199
- external/gpl2/gettext/dist/gettext-tools/src/msgunfmt.c, line 143
- external/gpl2/gettext/dist/gettext-tools/src/msguniq.c, line 140
- external/gpl2/gettext/dist/gettext-tools/src/recode-sr-latin.c, line 92
- external/gpl2/gettext/dist/gettext-tools/src/urlget.c, line 111
- external/gpl2/gettext/dist/gettext-tools/src/xgettext.c, line 326
- external/gpl2/gettext/dist/gettext-tools/tests/tstgettext.c, line 106
- external/gpl2/gettext/dist/gettext-tools/tests/tstngettext.c, line 94
- external/gpl2/gmake/dist/getopt1.c, line 115
- external/gpl2/gmake/dist/main.c, line 2422
- external/gpl2/grep/dist/lib/getopt1.c, line 125
- external/gpl2/grep/dist/src/grep.c, line 1275
- external/gpl2/groff/dist/src/devices/grodvi/dvi.cpp, line 922
- external/gpl2/groff/dist/src/devices/grohtml/post-html.cpp, line 4968
- external/gpl2/groff/dist/src/devices/grolbp/lbp.cpp, line 651
- external/gpl2/groff/dist/src/devices/grolj4/lj4.cpp, line 617
- external/gpl2/groff/dist/src/devices/grops/ps.cpp, line 1802
- external/gpl2/groff/dist/src/devices/grotty/tty.cpp, line 828
- external/gpl2/groff/dist/src/include/getopt.h, line 44
- external/gpl2/groff/dist/src/libs/libgroff/getopt1.c, line 111
- external/gpl2/groff/dist/src/preproc/eqn/main.cpp, line 270
- external/gpl2/groff/dist/src/preproc/html/pre-html.cpp, line 1550
- external/gpl2/groff/dist/src/preproc/pic/main.cpp, line 535
- external/gpl2/groff/dist/src/preproc/soelim/soelim.cpp, line 62
- external/gpl2/groff/dist/src/preproc/tbl/main.cpp, line 1533
- external/gpl2/groff/dist/src/roff/groff/groff.cpp, line 133
- external/gpl2/groff/dist/src/roff/troff/input.cpp, line 7291
- external/gpl2/groff/dist/src/utils/hpftodit/hpftodit.cpp, line 299
- external/gpl2/groff/dist/src/utils/indxbib/indxbib.cpp, line 135
- external/gpl2/groff/dist/src/utils/lkbib/lkbib.cpp, line 57
- external/gpl2/groff/dist/src/utils/lookbib/lookbib.cpp, line 62
- external/gpl2/groff/dist/src/utils/pfbtops/pfbtops.c, line 179
- external/gpl2/groff/dist/src/utils/tfmtodit/tfmtodit.cpp, line 700
- external/gpl2/groff/dist/src/utils/xtotroff/xtotroff.c, line 239
- external/gpl2/lvm2/dist/tools/dmsetup.c, line 69
- external/gpl2/lvm2/dist/tools/lvmcmdline.c, line 36
- external/gpl2/texinfo/dist/info/info.c, line 173
- external/gpl2/texinfo/dist/info/infokey.c, line 112
- external/gpl2/texinfo/dist/lib/getopt1.c, line 108
- external/gpl2/texinfo/dist/makeinfo/makeinfo.c, line 613
- external/gpl2/texinfo/dist/util/install-info.c, line 1175
- external/gpl2/xcvs/dist/diff/diff.c, line 273
- external/gpl2/xcvs/dist/diff/diff3.c, line 282
- external/gpl2/xcvs/dist/lib/getopt1.c, line 112
- external/gpl2/xcvs/dist/lib/getopt_.h, line 42
- external/gpl2/xcvs/dist/src/diff.c, line 324
- external/gpl2/xcvs/dist/src/main.c, 2 times
- external/gpl3/binutils.old/dist/binutils/addr2line.c, line 454
- external/gpl3/binutils.old/dist/binutils/ar.c, 2 times
- external/gpl3/binutils.old/dist/binutils/coffdump.c, line 508
- external/gpl3/binutils.old/dist/binutils/cxxfilt.c, line 153
- external/gpl3/binutils.old/dist/binutils/dlltool.c, line 4068
- external/gpl3/binutils.old/dist/binutils/elfedit.c, line 929
- external/gpl3/binutils.old/dist/binutils/nm.c, line 1715
- external/gpl3/binutils.old/dist/binutils/objcopy.c, 2 times
- external/gpl3/binutils.old/dist/binutils/objdump.c, line 5048
- external/gpl3/binutils.old/dist/binutils/readelf.c, line 4644
- external/gpl3/binutils.old/dist/binutils/size.c, line 156
- external/gpl3/binutils.old/dist/binutils/srconv.c, line 1742
- external/gpl3/binutils.old/dist/binutils/strings.c, line 176
- external/gpl3/binutils.old/dist/binutils/sysdump.c, line 679
- external/gpl3/binutils.old/dist/binutils/windmc.c, line 969
- external/gpl3/binutils.old/dist/binutils/windres.c, line 831
- external/gpl3/binutils.old/dist/gold/dwp.cc, line 2382
- external/gpl3/binutils.old/dist/gprof/gprof.c, line 208
- external/gpl3/binutils.old/dist/ld/lexsup.c, line 704
- external/gpl3/binutils.old/dist/libiberty/cp-demangle.c, line 6738
- external/gpl3/binutils.old/dist/libiberty/getopt1.c, line 114
- external/gpl3/binutils.old/dist/opcodes/aarch64-gen.c, line 1204
- external/gpl3/binutils.old/dist/opcodes/i386-gen.c, line 1680
- external/gpl3/binutils.old/dist/opcodes/ia64-gen.c, line 2803
- external/gpl3/binutils/dist/binutils/addr2line.c, line 508
- external/gpl3/binutils/dist/binutils/ar.c, 2 times
- external/gpl3/binutils/dist/binutils/coffdump.c, line 504
- external/gpl3/binutils/dist/binutils/cxxfilt.c, line 153
- external/gpl3/binutils/dist/binutils/dlltool.c, line 3790
- external/gpl3/binutils/dist/binutils/elfedit.c, line 996
- external/gpl3/binutils/dist/binutils/nm.c, line 2016
- external/gpl3/binutils/dist/binutils/objcopy.c, 2 times
- external/gpl3/binutils/dist/binutils/objdump.c, line 5571
- external/gpl3/binutils/dist/binutils/readelf.c, line 5427
- external/gpl3/binutils/dist/binutils/size.c, line 154
- external/gpl3/binutils/dist/binutils/srconv.c, line 1739
- external/gpl3/binutils/dist/binutils/strings.c, line 205
- external/gpl3/binutils/dist/binutils/sysdump.c, line 684
- external/gpl3/binutils/dist/binutils/windmc.c, line 967
- external/gpl3/binutils/dist/binutils/windres.c, line 831
- external/gpl3/binutils/dist/gold/dwp.cc, line 2382
- external/gpl3/binutils/dist/gprof/gprof.c, line 206
- external/gpl3/binutils/dist/gprofng/src/gp-archive.cc, line 512
- external/gpl3/binutils/dist/ld/lexsup.c, line 762
- external/gpl3/binutils/dist/libiberty/cp-demangle.c, line 6965
- external/gpl3/binutils/dist/libiberty/getopt1.c, line 114
- external/gpl3/binutils/dist/opcodes/aarch64-gen.c, line 1204
- external/gpl3/binutils/dist/opcodes/i386-gen.c, line 2008
- external/gpl3/binutils/dist/opcodes/ia64-gen.c, line 2803
- external/gpl3/gcc.old/dist/gcc/gcov-dump.c, line 98
- external/gpl3/gcc.old/dist/gcc/gcov-tool.c, 4 times
- external/gpl3/gcc.old/dist/gcc/gcov.c, line 971
- external/gpl3/gcc.old/dist/gcc/gengtype.c, line 5011
- external/gpl3/gcc.old/dist/libiberty/cp-demangle.c, line 6740
- external/gpl3/gcc.old/dist/libiberty/getopt1.c, line 114
- external/gpl3/gcc/dist/gcc/gcov-dump.c, line 98
- external/gpl3/gcc/dist/gcc/gcov-tool.c, 4 times
- external/gpl3/gcc/dist/gcc/gcov.c, line 971
- external/gpl3/gcc/dist/gcc/gengtype.c, line 5011
- external/gpl3/gcc/dist/libiberty/cp-demangle.c, line 6740
- external/gpl3/gcc/dist/libiberty/getopt1.c, line 114
- external/gpl3/gdb.old/dist/binutils/addr2line.c, line 450
- external/gpl3/gdb.old/dist/binutils/ar.c, 2 times
- external/gpl3/gdb.old/dist/binutils/coffdump.c, line 506
- external/gpl3/gdb.old/dist/binutils/cxxfilt.c, line 153
- external/gpl3/gdb.old/dist/binutils/dlltool.c, line 3786
- external/gpl3/gdb.old/dist/binutils/elfedit.c, line 941
- external/gpl3/gdb.old/dist/binutils/nm.c, line 1717
- external/gpl3/gdb.old/dist/binutils/objcopy.c, 2 times
- external/gpl3/gdb.old/dist/binutils/objdump.c, line 5159
- external/gpl3/gdb.old/dist/binutils/readelf.c, line 4719
- external/gpl3/gdb.old/dist/binutils/size.c, line 156
- external/gpl3/gdb.old/dist/binutils/srconv.c, line 1740
- external/gpl3/gdb.old/dist/binutils/strings.c, line 176
- external/gpl3/gdb.old/dist/binutils/sysdump.c, line 677
- external/gpl3/gdb.old/dist/binutils/windmc.c, line 969
- external/gpl3/gdb.old/dist/binutils/windres.c, line 832
- external/gpl3/gdb.old/dist/gold/dwp.cc, line 2382
- external/gpl3/gdb.old/dist/gprof/gprof.c, line 206
- external/gpl3/gdb.old/dist/ld/lexsup.c, line 736
- external/gpl3/gdb.old/dist/libiberty/cp-demangle.c, line 6812
- external/gpl3/gdb.old/dist/libiberty/getopt1.c, line 114
- external/gpl3/gdb.old/dist/opcodes/aarch64-gen.c, line 1204
- external/gpl3/gdb.old/dist/opcodes/i386-gen.c, line 1937
- external/gpl3/gdb.old/dist/opcodes/ia64-gen.c, line 2803
- external/gpl3/gdb.old/dist/sim/common/sim-options.c, line 595
- external/gpl3/gdb.old/dist/sim/cris/rvdummy.c, line 501
- external/gpl3/gdb.old/dist/sim/rx/main.c, line 102
- external/gpl3/gdb/dist/binutils/addr2line.c, line 450
- external/gpl3/gdb/dist/binutils/ar.c, 2 times
- external/gpl3/gdb/dist/binutils/coffdump.c, line 506
- external/gpl3/gdb/dist/binutils/cxxfilt.c, line 153
- external/gpl3/gdb/dist/binutils/dlltool.c, line 3786
- external/gpl3/gdb/dist/binutils/elfedit.c, line 941
- external/gpl3/gdb/dist/binutils/nm.c, line 1717
- external/gpl3/gdb/dist/binutils/objcopy.c, 2 times
- external/gpl3/gdb/dist/binutils/objdump.c, line 5159
- external/gpl3/gdb/dist/binutils/readelf.c, line 4719
- external/gpl3/gdb/dist/binutils/size.c, line 156
- external/gpl3/gdb/dist/binutils/srconv.c, line 1740
- external/gpl3/gdb/dist/binutils/strings.c, line 176
- external/gpl3/gdb/dist/binutils/sysdump.c, line 677
- external/gpl3/gdb/dist/binutils/windmc.c, line 969
- external/gpl3/gdb/dist/binutils/windres.c, line 832
- external/gpl3/gdb/dist/gold/dwp.cc, line 2382
- external/gpl3/gdb/dist/gprof/gprof.c, line 206
- external/gpl3/gdb/dist/ld/lexsup.c, line 736
- external/gpl3/gdb/dist/libiberty/cp-demangle.c, line 6812
- external/gpl3/gdb/dist/libiberty/getopt1.c, line 114
- external/gpl3/gdb/dist/opcodes/aarch64-gen.c, line 1204
- external/gpl3/gdb/dist/opcodes/i386-gen.c, line 1937
- external/gpl3/gdb/dist/opcodes/ia64-gen.c, line 2803
- external/gpl3/gdb/dist/sim/common/sim-options.c, line 595
- external/gpl3/gdb/dist/sim/cris/rvdummy.c, line 501
- external/gpl3/gdb/dist/sim/rx/main.c, line 102
- external/public-domain/xz/dist/src/lzmainfo/lzmainfo.c, line 72
- external/public-domain/xz/dist/src/xz/args.c, line 215
- external/public-domain/xz/dist/src/xzdec/xzdec.c, line 114
- lib/libc/stdlib/getopt_long.c, line 70
- sbin/chown/chown.c, line 98
- tests/lib/libc/stdlib/h_getopt_long.c, line 178
- usr.bin/flock/flock.c, line 168
- usr.bin/gettext/gettext.c, line 151
- usr.bin/grep/grep.c, line 402
- usr.bin/gzip/gzip.c, line 346
- usr.bin/m4/main.c, line 249
- usr.bin/mkdep/mkdep.c, line 244
- usr.bin/patch/patch.c, line 509
- usr.bin/sdiff/sdiff.c, line 181
- usr.bin/timeout/timeout.c, line 224
- usr.bin/tip/cu.c, line 87
- usr.bin/touch/touch.c, line 93