Defined in 5 files as a prototype:
Defined in 1 files as a label:
Defined in 7 files as a function:
Referenced in 132 files:
- bin/sh/exec.c, line 150
- contrib/apr-util/buckets/apr_brigade.c, line 325
- contrib/apr-util/uri/apr_uri.c, 3 times
- contrib/apr/network_io/unix/sockaddr.c, 2 times
- contrib/apr/network_io/unix/sockopt.c, line 399
- contrib/apr/strings/apr_strings.c, line 90
- contrib/binutils/bfd/archive.c, 4 times
- contrib/binutils/bfd/elf.c, line 7669
- contrib/binutils/binutils/readelf.c, 2 times
- contrib/cortex-strings/benchmarks/multi/harness.c, line 134
- contrib/cortex-strings/src/aarch64/memchr.S, 3 times
- contrib/cortex-strings/src/arm/memchr.S, 2 times
- contrib/diff/src/io.c, 2 times
- contrib/diff/src/sdiff.c, 3 times
- contrib/dma/net.c, line 146
- contrib/file/src/softmagic.c, 2 times
- contrib/gdb/gdb/go32-nat.c, line 1181
- contrib/less/output.c, line 166
- contrib/lib9p/pack.c, line 254
- contrib/libarchive/libarchive/archive_read_support_format_cab.c, line 2196
- contrib/libarchive/libarchive/archive_read_support_format_mtree.c, line 1977
- contrib/libarchive/libarchive/archive_read_support_format_tar.c, 2 times
- contrib/libarchive/libarchive/archive_read_support_format_warc.c, line 452
- contrib/libarchive/libarchive/archive_read_support_format_zip.c, line 3482
- contrib/libedit/readline.c, line 215
- contrib/libevent/buffer.c, 4 times
- contrib/libucl/src/ucl_emitter_utils.c, line 493
- contrib/libxo/libxo/libxo.c, line 3174
- contrib/llvm-project/clang/lib/AST/Stmt.cpp, line 672
- contrib/llvm-project/compiler-rt/lib/asan/asan_win_dll_thunk.cpp, line 64
- contrib/llvm-project/compiler-rt/lib/dfsan/dfsan_custom.cpp, line 777
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp, line 187
- contrib/llvm-project/libcxx/include/string.h, line 94
- contrib/llvm-project/lldb/source/Host/common/NativeProcessProtocol.cpp, line 691
- contrib/llvm-project/lldb/source/Utility/DataExtractor.cpp, line 820
- contrib/llvm-project/llvm/include/llvm/ADT/StringRef.h, line 322
- contrib/llvm-project/llvm/include/llvm/Demangle/StringView.h, line 48
- contrib/llvm-project/llvm/lib/MC/MCContext.cpp, line 364
- contrib/llvm-project/llvm/lib/Object/XCOFFObjectFile.cpp, line 47
- contrib/llvm-project/llvm/lib/Support/StringRef.cpp, line 141
- contrib/lua/src/lstrlib.c, 3 times
- contrib/mandoc/mandocdb.c, line 1368
- contrib/mandoc/preconv.c, 2 times
- contrib/mandoc/read.c, line 117
- contrib/netbsd-tests/lib/libc/string/t_memchr.c, 13 times
- contrib/ntp/libntp/strdup.c, line 48
- contrib/ntp/ntpd/ntp_control.c, line 1035
- contrib/ntp/sntp/libevent/buffer.c, 4 times
- contrib/nvi/vi/vs_msg.c, line 405
- contrib/openbsm/libbsm/bsm_io.c, line 3215
- contrib/pam_modules/pam_passwdqc/passwdqc_random.c, line 67
- contrib/pf/libevent/buffer.c, line 438
- contrib/sendmail/libsm/fget.c, line 93
- contrib/sendmail/libsm/fvwrite.c, line 224
- contrib/sendmail/libsm/vfprintf.c, line 616
- contrib/sendmail/src/util.c, line 1085
- contrib/serf/buckets/buckets.c, 3 times
- contrib/serf/buckets/bwtp_buckets.c, line 425
- contrib/serf/buckets/response_buckets.c, line 188
- contrib/subversion/subversion/libsvn_repos/authz_parse.c, 3 times
- contrib/subversion/subversion/libsvn_subr/config_file.c, 2 times
- contrib/subversion/subversion/libsvn_subr/dirent_uri.c, line 1888
- contrib/subversion/subversion/libsvn_wc/old-and-busted.c, line 1245
- contrib/subversion/subversion/svnserve/cyrus_auth.c, line 72
- crypto/heimdal/lib/asn1/der_get.c, line 137
- crypto/heimdal/lib/hx509/cert.c, 2 times
- crypto/heimdal/lib/kadm5/password_quality.c, line 149
- crypto/openssh/channels.c, 2 times
- crypto/openssh/hostfile.c, line 89
- crypto/openssh/kex.c, line 461
- crypto/openssh/sshbuf-getput-basic.c, line 196
- crypto/openssh/sshbuf-misc.c, line 149
- crypto/openssl/crypto/ocsp/ocsp_ht.c, line 359
- crypto/openssl/crypto/pem/pem_lib.c, line 825
- crypto/openssl/crypto/x509/x509_vpm.c, line 47
- crypto/openssl/crypto/x509v3/v3_utl.c, 2 times
- crypto/openssl/ssl/packet_local.h, line 459
- gnu/usr.bin/grep/grep.c, 5 times
- gnu/usr.bin/grep/kwset.c, line 511
- gnu/usr.bin/grep/search.c, 7 times
- lib/libc/gen/getgrent.c, line 1440
- lib/libc/gen/getpwent.c, 2 times
- lib/libc/gen/wordexp.c, line 285
- lib/libc/iconv/citrus_lookup.c, line 188
- lib/libc/iconv/citrus_lookup_factory.c, line 58
- lib/libc/iconv/citrus_memstream.c, 2 times
- lib/libc/iconv/citrus_pivot_factory.c, line 119
- lib/libc/locale/none.c, line 141
- lib/libc/stdio/fgetln.c, 2 times
- lib/libc/stdio/fgets.c, line 98
- lib/libc/stdio/fgetws.c, 2 times
- lib/libc/stdio/fvwrite.c, line 170
- lib/libc/stdio/getdelim.c, line 138
- lib/libc/string/memmem.c, line 174
- lib/libc/string/strstr.c, line 136
- lib/libc/tests/gen/fmtmsg_test.c, line 205
- lib/libutil/trimdomain.c, line 80
- libexec/fingerd/fingerd.c, line 137
- sbin/dmesg/dmesg.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c, line 13400
- sys/compat/cloudabi/cloudabi_file.c, line 86
- sys/compat/ndis/subr_ntoskrnl.c, line 4287
- sys/contrib/libfdt/fdt_overlay.c, 4 times
- sys/contrib/libfdt/fdt_ro.c, 4 times
- sys/contrib/libfdt/libfdt_env.h, line 138
- sys/contrib/openzfs/module/lua/lstrlib.c, line 533
- sys/contrib/openzfs/module/os/linux/spl/spl-xdr.c, line 478
- sys/contrib/zlib/gzread.c, line 589
- sys/contrib/zstd/zlibWrapper/gzread.c, line 610
- sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c, 2 times
- sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c, 4 times
- sys/dev/bhnd/nvram/bhnd_nvram_subr.c, line 1020
- sys/dev/bhnd/nvram/bhnd_nvram_value_fmts.c, line 888
- sys/dev/xen/xenstore/xenstore_dev.c, line 150
- sys/kern/imgact_elf.c, line 2227
- sys/kern/subr_bus.c, line 5609
- sys/libkern/memmem.c, line 52
- usr.bin/diff/diffreg.c, line 1423
- usr.bin/gcore/elfcore.c, line 643
- usr.bin/grep/file.c, 3 times
- usr.bin/indent/pr_comment.c, line 319
- usr.bin/mkimg/mkimg.c, 2 times
- usr.bin/sed/process.c, 2 times
- usr.bin/sort/file.c, 2 times
- usr.bin/truss/syscalls.c, line 1111
- usr.sbin/bhyve/gdb.c, 7 times
- usr.sbin/daemon/daemon.c, line 501
- usr.sbin/fstyp/hammer2.c, line 137
- usr.sbin/inetd/builtins.c, line 500
- usr.sbin/jail/config.c, line 670
- usr.sbin/ppp/chat.c, 3 times
- usr.sbin/ppp/physical.c, line 913