Defined in 5 files as a prototype:
Defined in 1 files as a label:
Defined in 8 files as a function:
Referenced in 138 files:
- bin/sh/exec.c, line 158
- 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 385
- 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/compiler-rt/lib/asan/asan_win_dll_thunk.cc, line 65
- contrib/compiler-rt/lib/dfsan/dfsan_custom.cc, line 767
- contrib/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp, line 170
- 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/dtc/fdtdump.c, line 216
- contrib/dtc/libfdt/fdt_overlay.c, 3 times
- contrib/dtc/libfdt/fdt_ro.c, 4 times
- contrib/file/src/softmagic.c, 2 times
- contrib/gcc/cfgexpand.c, line 440
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 109
- contrib/gdb/gdb/go32-nat.c, line 1181
- contrib/gperf/src/input.cc, 4 times
- contrib/less/output.c, line 166
- contrib/libarchive/libarchive/archive_read_support_format_cab.c, line 2196
- contrib/libarchive/libarchive/archive_read_support_format_mtree.c, line 1976
- 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 3465
- contrib/libc++/include/string.h, line 95
- contrib/libevent/buffer.c, 4 times
- contrib/libstdc++/config/locale/gnu/codecvt_members.cc, 2 times
- contrib/libstdc++/include/bits/char_traits.h, line 262
- contrib/libstdc++/include/c_compatibility/string.h, line 46
- contrib/libstdc++/include/c_std/std_cstring.h, 3 times
- contrib/libstdc++/src/localename.cc, line 201
- contrib/libucl/src/ucl_emitter_utils.c, line 493
- contrib/libxo/libxo/libxo.c, line 3187
- contrib/llvm/include/llvm/ADT/StringRef.h, line 302
- contrib/llvm/include/llvm/Demangle/StringView.h, line 45
- contrib/llvm/lib/Support/StringRef.cpp, line 147
- contrib/llvm/tools/clang/lib/AST/Stmt.cpp, line 653
- contrib/llvm/tools/lldb/source/Utility/DataExtractor.cpp, line 901
- contrib/lua/src/lstrlib.c, 3 times
- contrib/mandoc/mandocdb.c, line 1363
- 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/ntpd/ntp_control.c, line 1030
- contrib/ntp/sntp/libevent/buffer.c, 4 times
- contrib/nvi/vi/vs_msg.c, line 406
- 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 1751
- 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 817
- crypto/openssl/crypto/x509/x509_vpm.c, line 47
- crypto/openssl/crypto/x509v3/v3_utl.c, 2 times
- crypto/openssl/ssl/packet_locl.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 1427
- lib/libc/gen/getpwent.c, 2 times
- lib/libc/gen/wordexp.c, line 285
- lib/libc/i386/string/memchr.S, line 59
- 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/libedit/readline.c, line 233
- 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 13389
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstrlib.c, line 551
- sys/compat/cloudabi/cloudabi_file.c, line 86
- sys/compat/ndis/subr_ntoskrnl.c, line 4296
- 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/zlib/gzread.c, line 589
- sys/contrib/zstd/zlibWrapper/gzread.c, line 602
- 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 893
- sys/dev/xen/xenstore/xenstore_dev.c, line 152
- sys/kern/imgact_elf.c, line 2154
- sys/kern/subr_bus.c, line 5564
- sys/libkern/memmem.c, line 52
- usr.bin/diff/diffreg.c, line 1313
- usr.bin/gcore/elfcore.c, line 634
- 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 1092
- usr.sbin/bhyve/gdb.c, 4 times
- usr.sbin/daemon/daemon.c, line 478
- usr.sbin/inetd/builtins.c, line 500
- usr.sbin/jail/config.c, line 652
- usr.sbin/ppp/chat.c, 3 times
- usr.sbin/ppp/physical.c, line 917