Defined in 6 files as a prototype:
Defined in 8 files as a function:
Referenced in 217 files:
- bin/ps/keyword.c, line 282
- bin/ps/ps.c, line 798
- crypto/dist/ipsec-tools/src/racoon/racoonctl.c, line 951
- crypto/external/bsd/openssh/dist/misc.c, 2 times
- crypto/external/bsd/openssl.old/dist/test/conf_include_test.c, line 48
- crypto/external/bsd/openssl/dist/test/conf_include_test.c, line 50
- distrib/utils/libhack/gethost.c, 4 times
- external/apache2/llvm/dist/clang/lib/Basic/Builtins.cpp, line 133
- external/apache2/llvm/dist/libcxx/include/string.h, line 80
- external/bsd/am-utils/dist/amd/ops_cachefs.c, line 185
- external/bsd/am-utils/dist/conf/mount/mount_linux.c, line 641
- external/bsd/elftosb/dist/common/options.cpp, line 871
- external/bsd/fetch/dist/libfetch/fetch.c, line 431
- external/bsd/libbind/dist/irs/lcl_gr.c, line 335
- external/bsd/libbind/dist/irs/lcl_ho.c, 4 times
- external/bsd/libbind/dist/irs/lcl_ng.c, line 316
- external/bsd/libbind/dist/irs/lcl_nw.c, 4 times
- external/bsd/libbind/dist/irs/lcl_pr.c, 4 times
- external/bsd/libbind/dist/irs/nis_ho.c, 4 times
- external/bsd/libbind/dist/irs/nis_nw.c, line 313
- external/bsd/libbind/dist/irs/nis_sv.c, line 236
- external/bsd/libbind/dist/resolv/res_init.c, line 336
- external/bsd/libevent/dist/http.c, line 1962
- external/bsd/mdocml/dist/mansearch.c, line 770
- external/bsd/ntp/dist/ntpd/ntp_control.c, line 1104
- external/bsd/ntp/dist/ntpd/refclock_nmea.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/http.c, line 1819
- external/bsd/ntp/dist/sntp/libopts/load.c, line 350
- external/bsd/ntp/dist/sntp/libopts/parse-duration.c, 2 times
- external/bsd/nvi/dist/common/multibyte.h, line 83
- external/bsd/nvi/dist/ex/ex.c, line 1237
- external/bsd/openldap/dist/libraries/libldap/string.c, line 62
- external/bsd/openldap/dist/libraries/libldap/thr_debug.c, 2 times
- external/bsd/openldap/dist/servers/slapd/schema_init.c, line 2118
- external/bsd/pam-u2f/dist/util.c, line 104
- external/bsd/pkg_install/dist/admin/audit.c, line 392
- external/bsd/pkg_install/dist/admin/main.c, line 812
- external/bsd/pkg_install/dist/lib/dewey.c, line 277
- external/bsd/pkg_install/dist/lib/opattern.c, 2 times
- external/bsd/pkg_install/dist/lib/str.c, line 101
- external/bsd/unbound/dist/sldns/str2wire.c, line 2658
- external/cddl/osnet/dist/cmd/dtrace/dtrace.c, line 827
- external/cddl/osnet/dist/cmd/zdb/zdb.c, 2 times
- external/cddl/osnet/dist/cmd/zhack/zhack.c, line 156
- external/cddl/osnet/dist/common/ctf/ctf_lookup.c, line 102
- external/cddl/osnet/dist/lib/libdtrace/common/dt_parser.c, line 206
- external/cddl/osnet/dist/uts/common/fs/zfs/dmu_send.c, line 1030
- external/cddl/osnet/dist/uts/common/fs/zfs/dsl_dir.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/spa_misc.c, line 627
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/strpbrk.c, line 26
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/w32spawn.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, 2 times
- external/gpl2/gmake/dist/dir.c, line 82
- external/gpl2/gmake/dist/main.c, line 1270
- external/gpl2/gmake/dist/vmsify.c, line 238
- external/gpl2/gmake/dist/w32/pathstuff.c, 9 times
- external/gpl2/xcvs/dist/src/edit.c, 4 times
- external/gpl2/xcvs/dist/src/rcs.c, line 7929
- external/gpl2/xcvs/dist/src/subr.c, line 790
- external/gpl3/binutils.old/dist/gas/config/tc-nios2.c, line 3133
- external/gpl3/binutils.old/dist/gas/config/tc-ppc.c, line 3387
- external/gpl3/binutils.old/dist/gas/config/tc-pru.c, 2 times
- external/gpl3/binutils.old/dist/gold/gold.h, line 308
- external/gpl3/binutils.old/dist/ld/ldlang.c, 2 times
- external/gpl3/binutils.old/dist/libctf/ctf-lookup.c, line 92
- external/gpl3/binutils.old/dist/opcodes/s390-mkopc.c, line 173
- external/gpl3/binutils/dist/gas/config/tc-nios2.c, line 3128
- external/gpl3/binutils/dist/gas/config/tc-ppc.c, line 3394
- external/gpl3/binutils/dist/gas/config/tc-pru.c, 2 times
- external/gpl3/binutils/dist/gold/gold.h, line 312
- external/gpl3/binutils/dist/ld/ldlang.c, 2 times
- external/gpl3/binutils/dist/libctf/ctf-lookup.c, line 156
- external/gpl3/binutils/dist/opcodes/i386-gen.c, 2 times
- external/gpl3/binutils/dist/opcodes/s390-mkopc.c, line 173
- external/gpl3/gcc.old/dist/gcc/builtins.c, line 10680
- external/gpl3/gcc.old/dist/gcc/gcc.c, line 8515
- external/gpl3/gcc.old/dist/gcc/genautomata.c, line 2462
- external/gpl3/gcc.old/dist/gcc/genhooks.c, line 235
- external/gpl3/gcc.old/dist/libsanitizer/asan/asan_win_dll_thunk.cc, line 79
- external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/string.h, line 49
- external/gpl3/gcc/dist/gcc/builtins.c, line 10680
- external/gpl3/gcc/dist/gcc/gcc.c, line 8515
- external/gpl3/gcc/dist/gcc/genautomata.c, line 2462
- external/gpl3/gcc/dist/gcc/genhooks.c, line 235
- external/gpl3/gcc/dist/libsanitizer/asan/asan_win_dll_thunk.cc, line 79
- external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/string.h, line 49
- external/gpl3/gdb.old/dist/gas/config/tc-nios2.c, line 3133
- external/gpl3/gdb.old/dist/gas/config/tc-ppc.c, line 3224
- external/gpl3/gdb.old/dist/gas/config/tc-pru.c, 2 times
- external/gpl3/gdb.old/dist/gdb/go32-nat.c, line 712
- external/gpl3/gdb.old/dist/gdb/symfile.c, line 1823
- external/gpl3/gdb.old/dist/gdb/windows-nat.c, line 2890
- external/gpl3/gdb.old/dist/gdbsupport/common-inferior.cc, line 65
- external/gpl3/gdb.old/dist/gnulib/import/string.in.h, 9 times
- external/gpl3/gdb.old/dist/gnulib/import/strtok_r.c, line 61
- external/gpl3/gdb.old/dist/gold/gold.h, line 308
- external/gpl3/gdb.old/dist/ld/ldlang.c, 2 times
- external/gpl3/gdb.old/dist/libctf/ctf-lookup.c, line 92
- external/gpl3/gdb.old/dist/opcodes/i386-gen.c, 2 times
- external/gpl3/gdb.old/dist/opcodes/s390-mkopc.c, line 173
- external/gpl3/gdb.old/dist/readline/readline/rldefs.h, line 87
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/dist/gas/config/tc-nios2.c, line 3133
- external/gpl3/gdb/dist/gas/config/tc-ppc.c, line 3224
- external/gpl3/gdb/dist/gas/config/tc-pru.c, 2 times
- external/gpl3/gdb/dist/gdb/go32-nat.c, line 712
- external/gpl3/gdb/dist/gdb/symfile.c, line 1823
- external/gpl3/gdb/dist/gdb/windows-nat.c, line 2890
- external/gpl3/gdb/dist/gdbsupport/common-inferior.cc, line 65
- external/gpl3/gdb/dist/gnulib/import/string.in.h, 9 times
- external/gpl3/gdb/dist/gnulib/import/strtok_r.c, line 61
- external/gpl3/gdb/dist/gold/gold.h, line 308
- external/gpl3/gdb/dist/ld/ldlang.c, 2 times
- external/gpl3/gdb/dist/libctf/ctf-lookup.c, line 92
- external/gpl3/gdb/dist/opcodes/i386-gen.c, 2 times
- external/gpl3/gdb/dist/opcodes/s390-mkopc.c, line 173
- external/gpl3/gdb/dist/readline/readline/rldefs.h, line 87
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 9 times
- external/mit/lua/dist/src/lobject.c, line 270
- external/mit/lua/dist/src/lstrlib.c, line 757
- external/mpl/bind/dist/bin/delv/delv.c, 3 times
- external/mpl/bind/dist/bin/dig/dig.c, 4 times
- external/mpl/bind/dist/bin/tests/optional/rbt_test.c, line 314
- external/mpl/bind/dist/bin/tools/mdig.c, 3 times
- external/mpl/bind/dist/lib/dns/catz.c, line 1548
- external/mpl/bind/dist/lib/isc/unix/file.c, line 827
- external/mpl/bind/dist/lib/isc/win32/file.c, line 910
- external/mpl/bind/dist/lib/isccfg/parser.c, 9 times
- external/public-domain/xz/dist/src/xz/suffix.c, line 45
- games/hunt/hunt/hunt.c, line 664
- lib/libbluetooth/bluetooth.c, 8 times
- lib/libc/gen/fstab.c, line 103
- lib/libc/gen/sysctlgetmibinfo.c, line 469
- lib/libc/net/getaddrinfo.c, 5 times
- lib/libc/net/gethnamaddr.c, 6 times
- lib/libc/net/getnetent.c, 4 times
- lib/libc/net/getnetnamadr.c, 3 times
- lib/libc/net/getprotoent_r.c, 3 times
- lib/libc/net/getservent_r.c, 4 times
- lib/libc/resolv/res_init.c, line 381
- lib/libc/rpc/getnetconfig.c, line 470
- lib/libc/rpc/getrpcent.c, 4 times
- lib/librefuse/refuse_opt.c, line 185
- libexec/ftpd/ftpd.c, line 3425
- libexec/identd/identd.c, line 916
- sbin/disklabel/main.c, line 1722
- sbin/mount/mount.c, line 296
- sbin/mount_portal/conf.c, line 207
- sbin/swapctl/swapctl.c, line 777
- sbin/sysctl/sysctl.c, 2 times
- share/examples/refuse/ian/libfetch/fetch.c, line 327
- sys/external/bsd/acpica/dist/tools/acpihelp/ahdecode.c, line 111
- sys/external/bsd/acpica/dist/utilities/utclib.c, 2 times
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_dll_thunk.cc, line 82
- tests/lib/libc/string/t_strpbrk.c, 11 times
- tests/usr.bin/xlint/lint1/msg_346.c, line 50
- usr.bin/chpass/edit.c, line 189
- usr.bin/find/find.c, line 237
- usr.bin/ftp/fetch.c, 2 times
- usr.bin/mail/fio.c, line 465
- usr.bin/mail/names.c, line 159
- usr.bin/mail/send.c, line 420
- usr.bin/tr/str.c, line 202
- usr.bin/tset/map.c, line 95
- usr.sbin/altq/libaltq/parser.c, line 1054
- usr.sbin/altq/libaltq/quip_server.c, line 156
- usr.sbin/mtree/spec.c, line 213
- usr.sbin/rpc.pcnfsd/pcnfsd_print.c, line 119
- usr.sbin/ypserv/revnetgroup/parse_netgroup.c, line 232