Defined in 5 files as a prototype:
Defined in 1 files as a macro:
Defined in 6 files as a function:
Documented in 1 files:
Referenced in 87 files:
- contrib/blacklist/port/strlcat.c, line 87
- contrib/bsnmp/snmp_mibII/mibII.c, line 574
- contrib/bsnmp/snmpd/trans_inet.c, line 941
- contrib/cortex-strings/src/aarch64/strnlen.S
- contrib/elftoolchain/readelf/readelf.c, line 3823
- contrib/llvm-project/clang/lib/Lex/HeaderMap.cpp, line 158
- contrib/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp
- contrib/llvm-project/compiler-rt/lib/asan/asan_interceptors.h, line 131
- contrib/llvm-project/compiler-rt/lib/asan/asan_win_dll_thunk.cpp, line 80
- contrib/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp
- contrib/llvm-project/compiler-rt/lib/xray/xray_interface.cpp, line 456
- contrib/llvm-project/lld/MachO/ExportTrie.cpp, line 269
- contrib/llvm-project/lld/MachO/InputFiles.cpp
- contrib/llvm-project/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h, line 191
- contrib/llvm-project/lldb/source/Core/ValueObject.cpp, line 1012
- contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp, line 811
- contrib/llvm-project/lldb/source/Utility/ConstString.cpp, line 156
- contrib/llvm-project/llvm/lib/ObjectYAML/MachOYAML.cpp, line 39
- contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
- contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
- contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/Object.cpp, line 144
- contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp, line 4385
- contrib/llvm-project/llvm/tools/llvm-readobj/ObjDumper.cpp, line 104
- contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c, line 63
- contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c
- contrib/netbsd-tests/lib/libc/string/t_strlen.c
- contrib/ntp/ntpd/ntp_refclock.c, line 1728
- contrib/processor-trace/libipt/src/pt_image.c, line 47
- contrib/processor-trace/libipt/src/pt_image_section_cache.c, line 46
- contrib/processor-trace/libipt/src/pt_section.c, line 53
- crypto/heimdal/lib/roken/resolve.c
- crypto/heimdal/lib/roken/strlcat.c, line 46
- crypto/heimdal/lib/roken/strndup.c, line 44
- crypto/openssh/openbsd-compat/glob.c, line 186
- crypto/openssh/openbsd-compat/strndup.c, line 33
- lib/libc/net/getaddrinfo.c, line 1434
- lib/libc/stdio/fmemopen.c, line 132
- lib/libc/stdio/vfprintf.c
- lib/libc/string/strndup.c, line 32
- lib/libdevinfo/devinfo.c, line 250
- lib/libpam/modules/pam_unix/pam_unix.c, line 131
- lib/libproc/proc_sym.c, line 313
- lib/libprocstat/core.c, line 409
- lib/libsecureboot/pass_manifest.c
- sbin/bectl/bectl_jail.c, line 220
- sbin/decryptcore/decryptcore.c, line 373
- sys/cam/cam_xpt.c, line 1309
- sys/cam/ctl/ctl.c, line 4526
- sys/compat/linux/linux.c
- sys/contrib/dev/acpica/include/actypes.h, line 683
- sys/contrib/libfdt/fdt_ro.c
- sys/contrib/libnv/bsd_nvpair.c
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, line 5887
- sys/contrib/openzfs/lib/libuutil/uu_alloc.c, line 79
- sys/contrib/openzfs/lib/libzfs/libzfs_util.c
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_device_path_os.c, line 51
- sys/contrib/openzfs/module/icp/algs/aes/aes_impl.c, line 368
- sys/contrib/openzfs/module/icp/algs/modes/gcm.c, line 899
- sys/contrib/openzfs/module/os/linux/spl/spl-proc.c, line 69
- sys/contrib/openzfs/module/zfs/dsl_dir.c
- sys/contrib/openzfs/module/zfs/vdev_raidz_math.c, line 591
- sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c, line 652
- sys/dev/bhnd/nvram/bhnd_nvram_data_bcmraw.c, line 281
- sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c, line 470
- sys/dev/bhnd/nvram/bhnd_nvram_private.h, line 109
- sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
- sys/dev/bhnd/nvram/bhnd_nvram_value.c, line 846
- sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
- sys/dev/ocs_fc/ocs_ioctl.c, line 761
- sys/dev/sfxge/common/efx_mcdi.c, line 1495
- sys/dev/veriexec/verified_exec.c, line 233
- sys/dev/xen/netback/netback.c, line 575
- sys/dev/xen/netback/netback_unit_tests.c
- sys/kern/kern_proc.c, line 2075
- sys/libkern/iconv.c
- sys/libkern/strndup.c, line 46
- sys/netpfil/ipfw/ip_fw_nat.c
- sys/netpfil/ipfw/ip_fw_sockopt.c, line 2525
- sys/netpfil/ipfw/ip_fw_table.c, line 1840
- sys/netpfil/ipfw/ip_fw_table_algo.c
- sys/security/mac_veriexec_parser/mac_veriexec_parser.c
- usr.sbin/bhyve/pci_nvme.c, line 369
- usr.sbin/bhyve/snapshot.c
- usr.sbin/binmiscctl/binmiscctl.c, line 369
- usr.sbin/kldxref/ef.c, line 527
- usr.sbin/kldxref/ef_obj.c, line 320
- usr.sbin/rpc.lockd/lockd_lock.c