Defined in 8 files as a prototype:
Defined in 4 files as a macro:
Defined in 8 files as a function:
Referenced in 202 files:
- bin/dd/args.c, 2 times
- bin/sh/histedit.c, line 612
- bin/stty/gfmt.c, line 83
- common/lib/libc/string/strsep.c, 2 times
- crypto/external/bsd/heimdal/dist/kadmin/get.c, 2 times
- crypto/external/bsd/heimdal/dist/kadmin/load.c, 13 times
- crypto/external/bsd/heimdal/dist/kdc/mit_dump.c, line 95
- crypto/external/bsd/heimdal/dist/lib/gssapi/mech/gss_mech_switch.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/hdb/hdb-mitdb.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/kafs/common.c, line 285
- crypto/external/bsd/heimdal/dist/lib/krb5/pkinit.c, 3 times
- crypto/external/bsd/openssh/dist/addrmatch.c, 2 times
- crypto/external/bsd/openssh/dist/auth2.c, line 579
- crypto/external/bsd/openssh/dist/cipher.c, 2 times
- crypto/external/bsd/openssh/dist/dh.c, 6 times
- crypto/external/bsd/openssh/dist/kex.c, 5 times
- crypto/external/bsd/openssh/dist/mac.c, 2 times
- crypto/external/bsd/openssh/dist/match.c, 5 times
- crypto/external/bsd/openssh/dist/monitor.c, 2 times
- crypto/external/bsd/openssh/dist/servconf.c, 2 times
- crypto/external/bsd/openssh/dist/ssh-keygen.c, 3 times
- crypto/external/bsd/openssh/dist/ssh-keyscan.c, line 332
- crypto/external/bsd/openssh/dist/ssh_api.c, line 533
- crypto/external/bsd/openssh/dist/sshconnect2.c, 3 times
- crypto/external/bsd/openssh/dist/sshkey.c, 2 times
- crypto/external/bsd/openssh/dist/sshsig.c, line 841
- dist/pf/usr.sbin/authpf/authpf.c, line 376
- distrib/utils/libhack/getgrent.c, 3 times
- distrib/utils/libhack/getpwent.c, 10 times
- external/bsd/dhcpcd/dist/src/dhcp-common.c, line 200
- external/bsd/dhcpcd/dist/src/if-options.c, 3 times
- external/bsd/libbind/dist/irs/lcl_gr.c, 4 times
- external/bsd/libbind/dist/irs/lcl_ng.c, 3 times
- external/bsd/libevent/dist/http.c, 6 times
- external/bsd/libfido2/dist/src/hid_linux.c, line 91
- external/bsd/mdocml/dist/main.c, line 304
- external/bsd/mdocml/dist/mansearch.c, line 818
- external/bsd/mdocml/dist/test-strsep.c, line 8
- external/bsd/ntp/dist/sntp/libevent/http.c, 8 times
- external/bsd/nvi/dist/ex/ex_cscope.c, 2 times
- external/bsd/nvi/dist/ex/ex_tag.c, line 1284
- external/bsd/pkg_install/dist/create/perform.c, 2 times
- external/bsd/tcpdump/dist/print-esp.c, 8 times
- external/bsd/tmux/dist/cmd-command-prompt.c, 2 times
- external/bsd/tmux/dist/input.c, 3 times
- external/bsd/tmux/dist/options.c, line 521
- external/bsd/tmux/dist/server-client.c, line 3070
- external/bsd/tmux/dist/status.c, line 91
- external/bsd/tmux/dist/tmux.c, line 153
- external/bsd/tmux/dist/tty-features.c, line 284
- external/bsd/tmux/dist/tty-keys.c, line 1310
- external/bsd/unbound/dist/util/config_file.c, line 2139
- external/bsd/unbound/dist/util/configparser.c, line 5368
- external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c, line 960
- external/cddl/osnet/dist/lib/libdtrace/common/dt_pragma.c, line 267
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_dataset.c, line 2239
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_iter.c, line 369
- external/cddl/osnet/lib/libzfs/fsshare.c, line 130
- external/gpl3/gdb.old/dist/gnulib/import/string.in.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/string.h, 7 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 7 times
- external/gpl3/gdb/dist/gnulib/import/string.in.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/string.h, 7 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 7 times
- lib/libc/gen/getpwent.c, 2 times
- lib/libc/gen/pw_scan.c, 11 times
- lib/libc/posix1e/acl_from_text.c, 6 times
- lib/libc/posix1e/acl_from_text_nfs4.c, 5 times
- lib/libc/posix1e/acl_support_nfs4.c, line 157
- lib/libcrypt/crypt-argon2.c, 6 times
- lib/libcrypt/pw_gensalt.c, line 188
- lib/libform/type_ipv4.c, line 103
- lib/libintl/gettext.c, line 315
- lib/libpam/modules/pam_unix/pam_unix.c, line 605
- lib/libquota/quota_nfs.c, line 169
- lib/libradius/radlib.c, 2 times
- lib/libutil/passwd.c, line 617
- lib/libutil/stat_flags.c, line 137
- libexec/ftpd/cmds.c, line 361
- libexec/ftpd/extern.h, line 373
- libexec/ld.elf_so/load.c, line 356
- sbin/ccdconfig/ccdconfig.c, line 324
- sbin/cgdconfig/utils.c, 2 times
- sbin/fsck/fsck.c, 2 times
- sbin/fsdb/fsdb.c, line 1051
- sbin/fsdb/fsdbutil.c, line 65
- sbin/ifconfig/parse.c, line 351
- sbin/mount/mount.c, line 681
- sbin/mount_portal/conf.c, 2 times
- sbin/mount_puffs/mount_puffs.c, line 175
- sbin/rcorder/rcorder.c, line 396
- sbin/restore/dirs.c, line 303
- sbin/sysctl/pathconf.c, line 206
- sys/arch/arm/sunxi/sunxi_tcon.c, 2 times
- sys/arch/evbarm/stand/boot2440/main.c, line 206
- sys/arch/evbmips/adm5120/machdep.c, line 210
- sys/dev/dm/dm_ioctl.c, line 855
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_device.c, 3 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_pm.c, 3 times
- sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/i915_pci.c, line 961
- sys/external/bsd/drm2/dist/drm/i915/selftests/i915_selftest.c, line 254
- sys/fs/nfs/common/nfs_diskless.c, line 112
- sys/netinet/in_selsrc.c, line 452
- tests/lib/libc/stdlib/h_getopt_long.c, 4 times
- usr.bin/audio/ctl/ctl.c, 4 times
- usr.bin/chpass/edit.c, 4 times
- usr.bin/finger/util.c, 6 times
- usr.bin/ftp/fetch.c, line 756
- usr.bin/ftp/main.c, line 378
- usr.bin/grep/grep.c, line 384
- usr.bin/join/join.c, 2 times
- usr.bin/m4/gnum4.c, line 127
- usr.bin/make/meta.c, 4 times
- usr.bin/netstat/main.c, line 616
- usr.bin/newsyslog/newsyslog.c, line 259
- usr.bin/passwd/local_passwd.c, line 113
- usr.bin/passwd/yp_passwd.c, line 139
- usr.bin/pkill/pkill.c, line 567
- usr.bin/pwhash/pwhash.c, 2 times
- usr.bin/quota/printquota.c, 5 times
- usr.bin/systat/cmds.c, line 61
- usr.bin/tabs/tabs.c, line 154
- usr.bin/tftp/tftp.c, 2 times
- usr.bin/unexpand/unexpand.c, line 92
- usr.bin/ypcat/ypalias_init.c, 2 times
- usr.sbin/altq/altqstat/quip_client.c, line 234
- usr.sbin/altq/libaltq/quip_server.c, 4 times
- usr.sbin/autofs/automountd.c, line 98
- usr.sbin/autofs/common.c, line 137
- usr.sbin/autofs/defined.c, line 235
- usr.sbin/chroot/chroot.c, line 164
- usr.sbin/edquota/edquota.c, 3 times
- usr.sbin/fwctl/eui64.c, 3 times
- usr.sbin/ldpd/conffile.c, line 47
- usr.sbin/ldpd/ldp_command.c, 3 times
- usr.sbin/lockstat/main.c, line 459
- usr.sbin/lpr/lpd/printjob.c, line 1579
- usr.sbin/mailwrapper/mailwrapper.c, 4 times
- usr.sbin/makefs/makefs.c, line 220
- usr.sbin/mountd/mountd.c, 5 times
- usr.sbin/mtree/getid.c, 13 times
- usr.sbin/mtree/misc.c, line 207
- usr.sbin/mtree/mtree.c, 3 times
- usr.sbin/mtree/spec.c, 5 times
- usr.sbin/psrset/psrset.c, line 300
- usr.sbin/rpc.bootparamd/bootparamd.c, 2 times
- usr.sbin/schedctl/schedctl.c, line 258
- usr.sbin/services_mkdb/services_mkdb.c, 2 times
- usr.sbin/sysinst/gpt.c, 3 times
- usr.sbin/sysinst/net.c, line 857
- usr.sbin/sysinst/util.c, line 2149
- usr.sbin/user/user.c, 2 times
- usr.sbin/vnconfig/vnconfig.c, line 397
- usr.sbin/wgconfig/wgconfig.c, line 591
- usr.sbin/ypserv/revnetgroup/parse_netgroup.c, 3 times