Defined in 3 files as a prototype:
Defined in 3 files as a macro:
Defined in 5 files as a function:
Referenced in 141 files:
- bin/cp/cp.c, line 413
- bin/csh/csh.h, line 485
- bin/ksh/misc.c, line 117
- common/lib/libc/string/strncat.c, line 52
- crypto/dist/ipsec-tools/src/racoon/misc.h, line 68
- crypto/external/bsd/openssh/dist/ldapauth.c, line 308
- crypto/external/bsd/openssl/dist/apps/cmp.c, line 1919
- external/bsd/am-utils/dist/amd/sun_map.c, 2 times
- external/bsd/am-utils/dist/conf/mtab/mtab_osf.c, line 75
- external/bsd/ipf/dist/ipsend/sdlpi.c, line 70
- external/bsd/libarchive/dist/cpio/test/test_basic.c, 16 times
- external/bsd/libarchive/dist/cpio/test/test_format_newc.c, 14 times
- external/bsd/libarchive/dist/tar/test/test_print_longpath.c, 3 times
- external/bsd/libarchive/dist/test_utils/test_main.c, 14 times
- external/bsd/libbind/dist/irs/nis_ho.c, line 199
- external/bsd/openldap/dist/contrib/slapd-modules/rbac/rbacaudit.c, line 104
- external/bsd/openldap/dist/contrib/slapd-modules/rbac/rbacsess.c, 4 times
- external/bsd/openldap/dist/contrib/slapd-modules/rbac/rbacuser.c, line 393
- external/bsd/pkg_install/dist/lib/file.c, 4 times
- external/bsd/ppp/dist/pppd/options.c, 2 times
- external/bsd/top/dist/machine/m_decosf1.c, line 623
- external/bsd/top/dist/machine/m_hpux7.c, line 581
- external/bsd/top/dist/machine/m_hpux8.c, line 548
- external/bsd/top/dist/machine/m_hpux9.c, line 568
- external/bsd/top/dist/machine/m_macosx.c, line 418
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_sendrecv.c, line 3179
- external/gpl2/groff/dist/src/roff/troff/input.cpp, line 7121
- external/gpl2/texinfo/dist/makeinfo/files.c, line 607
- external/gpl2/texinfo/dist/makeinfo/html.c, line 692
- external/gpl2/xcvs/dist/src/myndbm.c, 2 times
- external/gpl3/binutils.old/dist/bfd/elfxx-riscv.c, line 1549
- external/gpl3/binutils.old/dist/binutils/readelf.c, 20 times
- external/gpl3/binutils.old/dist/opcodes/mep-asm.c, line 615
- external/gpl3/binutils/dist/bfd/elfxx-riscv.c, line 2081
- external/gpl3/binutils/dist/binutils/readelf.c, 20 times
- external/gpl3/binutils/dist/gprofng/src/collctrl.cc, 6 times
- external/gpl3/binutils/dist/opcodes/mep-asm.c, line 615
- external/gpl3/gcc.old/dist/gcc/d/dmd/expression.c, line 4049
- external/gpl3/gcc.old/dist/libgfortran/intrinsics/execute_command_line.c, line 67
- external/gpl3/gcc.old/dist/libsanitizer/asan/asan_interceptors.cc, 4 times
- external/gpl3/gcc.old/dist/libsanitizer/asan/asan_win_dll_thunk.cc, line 75
- external/gpl3/gcc.old/dist/libssp/ssp/string.h, line 48
- external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/string.h, line 40
- external/gpl3/gcc/dist/gcc/d/dmd/expression.c, line 4049
- external/gpl3/gcc/dist/libgfortran/intrinsics/execute_command_line.c, line 67
- external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc, 4 times
- external/gpl3/gcc/dist/libsanitizer/asan/asan_win_dll_thunk.cc, line 75
- external/gpl3/gcc/dist/libssp/ssp/string.h, line 48
- external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/string.h, line 40
- external/gpl3/gdb.old/dist/bfd/elfxx-riscv.c, line 1731
- external/gpl3/gdb.old/dist/binutils/readelf.c, 20 times
- external/gpl3/gdb.old/dist/gdb/objc-lang.c, line 483
- external/gpl3/gdb.old/dist/gdb/procfs.c, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/string.in.h, 8 times
- external/gpl3/gdb.old/dist/opcodes/mep-asm.c, line 615
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/string.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 8 times
- external/gpl3/gdb/dist/bfd/elfxx-riscv.c, line 1731
- external/gpl3/gdb/dist/binutils/readelf.c, 20 times
- external/gpl3/gdb/dist/gdb/objc-lang.c, line 483
- external/gpl3/gdb/dist/gdb/procfs.c, 2 times
- external/gpl3/gdb/dist/gnulib/import/string.in.h, 8 times
- external/gpl3/gdb/dist/opcodes/mep-asm.c, line 615
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/string.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 8 times
- external/lgpl3/mpfr/dist/src/vasprintf.c, line 674
- external/mit/libuv/dist/src/unix/aix.c, line 537
- external/mpl/bind/dist/contrib/dlz/drivers/dlz_bdbhpt_driver.c, line 362
- external/mpl/bind/dist/contrib/dlz/drivers/dlz_filesystem_driver.c, 6 times
- external/mpl/bind/dist/contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c, line 368
- external/mpl/bind/dist/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c, 6 times
- external/mpl/dhcp/dist/dhcpctl/omshell.c, 2 times
- external/mpl/dhcp/dist/server/ldap.c, line 208
- include/ssp/string.h, line 92
- lib/libc/arch/arm/string/strncat_naive.S, line 53
- lib/libc/db/hash/ndbm.c, line 75
- lib/libc/rpc/clnt_perror.c, 5 times
- lib/libcompat/regexp/regexp.c, line 1295
- lib/libedit/history.c, line 71
- lib/libpuffs/paths.c, line 284
- lib/libskey/put.c, 6 times
- sbin/mount_portal/pt_filter.c, 3 times
- sbin/nvmectl/util.c, line 119
- sys/arch/ia64/stand/common/dev_net.c, 3 times
- sys/external/bsd/acpica/dist/utilities/utnonansi.c, line 236
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_interceptors.cc, 4 times
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_dll_thunk.cc, line 78
- sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_str_test.cc, 16 times
- sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 3 times
- tests/lib/libc/ssp/h_strncat.c, line 44
- tests/lib/libc/string/t_strcat.c, 4 times
- usr.bin/xargs/strnsubst.c, line 78
- usr.sbin/ldpd/ldp_peer.c, 2 times
- usr.sbin/sysinst/arch/mac68k/md.c, 3 times