Defined in 11 files as a prototype:
- contrib/diff/lib/getopt.h, line 158 (as a prototype)
- contrib/file/src/file.c, line 64 (as a prototype)
- contrib/file/src/mygetopt.h, line 65 (as a prototype)
- contrib/gcclibs/include/getopt.h, line 121 (as a prototype)
- contrib/gcclibs/include/getopt.h, line 134 (as a prototype)
- contrib/gdb/include/getopt.h, line 121 (as a prototype)
- contrib/gdb/include/getopt.h, line 134 (as a prototype)
- contrib/llvm/tools/lldb/include/lldb/Host/common/GetOptInc.h, line 45 (as a prototype)
- contrib/tcpdump/getopt_long.h, line 58 (as a prototype)
- crypto/openssh/openbsd-compat/getopt.h, line 57 (as a prototype)
- include/getopt.h, line 63 (as a prototype)
Defined in 1 files as a macro:
Defined in 5 files as a function:
Referenced in 108 files:
- bin/df/df.c, line 154
- bin/ls/ls.c, line 268
- cddl/contrib/opensolaris/cmd/zfs/zfs_main.c, line 3819
- cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, 3 times
- contrib/binutils/binutils/addr2line.c, line 344
- contrib/binutils/binutils/coffdump.c, line 501
- contrib/binutils/binutils/cxxfilt.c, line 183
- contrib/binutils/binutils/dlltool.c, line 3238
- contrib/binutils/binutils/nm.c, line 1511
- contrib/binutils/binutils/objcopy.c, 2 times
- contrib/binutils/binutils/objdump.c, line 3058
- contrib/binutils/binutils/readelf.c, line 2865
- contrib/binutils/binutils/size.c, line 143
- contrib/binutils/binutils/srconv.c, line 1769
- contrib/binutils/binutils/strings.c, line 195
- contrib/binutils/binutils/sysdump.c, line 677
- contrib/binutils/binutils/windmc.c, line 994
- contrib/binutils/ld/lexsup.c, line 694
- contrib/binutils/libiberty/cp-demangle.c, line 4402
- contrib/binutils/opcodes/i386-gen.c, line 359
- contrib/binutils/opcodes/ia64-gen.c, line 2814
- contrib/diff/src/cmp.c, line 207
- contrib/diff/src/diff.c, line 279
- contrib/diff/src/diff3.c, line 237
- contrib/diff/src/sdiff.c, line 469
- contrib/dtc/util.h, line 238
- contrib/elftoolchain/addr2line/addr2line.c, line 661
- contrib/elftoolchain/ar/ar.c, 2 times
- contrib/elftoolchain/brandelf/brandelf.c, line 103
- contrib/elftoolchain/cxxfilt/cxxfilt.c, line 138
- contrib/elftoolchain/elfcopy/main.c, 3 times
- contrib/elftoolchain/elfdump/elfdump.c, line 652
- contrib/elftoolchain/nm/nm.c, line 454
- contrib/elftoolchain/readelf/readelf.c, line 7434
- contrib/elftoolchain/size/size.c, line 131
- contrib/elftoolchain/strings/strings.c, line 118
- contrib/file/src/file.c, line 208
- contrib/file/src/getopt_long.c, line 73
- contrib/gcc/gcov-dump.c, line 83
- contrib/gcc/gcov.c, line 451
- contrib/gcc/mips-tdump.c, line 1398
- contrib/gcc/mips-tfile.c, line 4719
- contrib/gcc/protoize.c, line 4413
- contrib/gcclibs/libcpp/makedepend.c, line 89
- contrib/gcclibs/libiberty/cp-demangle.c, line 4270
- contrib/gcclibs/libiberty/getopt1.c, line 115
- contrib/gperf/src/options.cc, line 730
- contrib/libucl/utils/ucl-tool.c, line 61
- contrib/libxo/xo/xo.c, line 285
- contrib/libxo/xopo/xopo.c, line 127
- contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c, line 185
- contrib/netcat/netcat.c, line 169
- contrib/ofed/infiniband-diags/src/ibdiag_common.c, line 400
- contrib/ofed/libibverbs/examples/asyncwatch.c, line 108
- contrib/ofed/libibverbs/examples/devinfo.c, line 613
- contrib/ofed/libibverbs/examples/rc_pingpong.c, line 730
- contrib/ofed/libibverbs/examples/srq_pingpong.c, line 669
- contrib/ofed/libibverbs/examples/uc_pingpong.c, line 572
- contrib/ofed/libibverbs/examples/ud_pingpong.c, line 593
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, line 879
- contrib/tcpdump/tcpdump.c, line 1239
- contrib/xz/src/lzmainfo/lzmainfo.c, line 72
- contrib/xz/src/xz/args.c, line 215
- contrib/xz/src/xzdec/xzdec.c, line 114
- crypto/openssh/openbsd-compat/getopt_long.c, line 510
- gnu/usr.bin/grep/grep.c, line 1324
- sbin/devmatch/devmatch.c, line 549
- sbin/mount_fusefs/mount_fusefs.c, line 243
- sys/contrib/zstd/tests/regression/test.c, line 162
- tools/test/iconv/tablegen/tablegen.c, line 205
- usr.bin/ar/ar.c, 2 times
- usr.bin/cmp/cmp.c, line 84
- usr.bin/dc/dc.c, line 89
- usr.bin/diff/diff.c, line 120
- usr.bin/diff3/diff3.c, line 624
- usr.bin/du/du.c, line 124
- usr.bin/etdump/etdump.c, line 234
- usr.bin/fetch/fetch.c, line 904
- usr.bin/grep/grep.c, line 404
- usr.bin/gzip/gzip.c, line 372
- usr.bin/head/head.c, line 96
- usr.bin/iconv/iconv.c, line 165
- usr.bin/look/look.c, line 116
- usr.bin/mkimg/mkimg.c, line 565
- usr.bin/patch/patch.c, line 507
- usr.bin/sdiff/sdiff.c, line 243
- usr.bin/seq/seq.c, line 113
- usr.bin/sort/sort.c, line 1007
- usr.bin/tail/tail.c, line 125
- usr.bin/timeout/timeout.c, line 201
- usr.bin/top/top.c, line 309
- usr.bin/uniq/uniq.c, line 104
- usr.bin/units/units.c, line 773
- usr.sbin/bhyvectl/bhyvectl.c, line 1704
- usr.sbin/binmiscctl/binmiscctl.c, line 292
- usr.sbin/efibootmgr/efibootmgr.c, line 194
- usr.sbin/efidp/efidp.c, line 91
- usr.sbin/efivar/efivar.c, line 275
- usr.sbin/nfsd/nfsd.c, line 195
- usr.sbin/pmc/cmd_pmc_filter.cc, line 314
- usr.sbin/pmc/cmd_pmc_list.c, line 96
- usr.sbin/pmc/cmd_pmc_stat.c, line 324
- usr.sbin/pmc/cmd_pmc_summary.cc, line 193
- usr.sbin/pnfsdscopymr/pnfsdscopymr.c, line 90
- usr.sbin/pnfsdsfile/pnfsdsfile.c, line 87
- usr.sbin/pnfsdskill/pnfsdskill.c, line 68
- usr.sbin/sesutil/sesutil.c, line 622
- usr.sbin/watchdogd/watchdogd.c, line 704