Defined in 4 files as a prototype:
Defined in 5 files as a function:
Referenced in 224 files:
- bin/mkdir/mkdir.c, line 163
- bin/pax/options.c, line 1428
- bin/sh/output.c, line 208
- bin/sh/var.c, line 714
- crypto/external/bsd/heimdal/dist/admin/add.c, line 46
- crypto/external/bsd/heimdal/dist/kadmin/add-random-users.c, line 60
- crypto/external/bsd/heimdal/dist/kadmin/stash.c, line 99
- crypto/external/bsd/heimdal/dist/kdc/kstash.c, line 126
- crypto/external/bsd/heimdal/dist/kdc/pkinit.c, line 1895
- crypto/external/bsd/heimdal/dist/kdc/string2key.c, 2 times
- crypto/external/bsd/heimdal/dist/kpasswd/kpasswd-generator.c, line 53
- crypto/external/bsd/heimdal/dist/kuser/generate-requests.c, line 51
- crypto/external/bsd/heimdal/dist/kuser/kinit.c, line 478
- crypto/external/bsd/heimdal/dist/kuser/kswitch.c, line 51
- crypto/external/bsd/heimdal/dist/lib/asn1/asn1_gen.c, line 82
- crypto/external/bsd/heimdal/dist/lib/asn1/main.c, line 163
- crypto/external/bsd/heimdal/dist/lib/com_err/compile_et.c, line 236
- crypto/external/bsd/heimdal/dist/lib/gssapi/ntlm/init_sec_context.c, line 54
- crypto/external/bsd/heimdal/dist/lib/hx509/file.c, line 205
- crypto/external/bsd/heimdal/dist/lib/hx509/hxtool.c, line 1583
- crypto/external/bsd/heimdal/dist/lib/hx509/lock.c, line 206
- crypto/external/bsd/heimdal/dist/lib/hx509/softp11.c, line 723
- crypto/external/bsd/heimdal/dist/lib/kadm5/ipropd_master.c, line 167
- crypto/external/bsd/heimdal/dist/lib/kadm5/password_quality.c, 3 times
- crypto/external/bsd/heimdal/dist/lib/krb5/config_file.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/krb5/dcache.c, line 180
- crypto/external/bsd/heimdal/dist/lib/krb5/keytab.c, line 305
- crypto/external/bsd/heimdal/dist/lib/krb5/keytab_keyfile.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/krbhst.c, line 272
- crypto/external/bsd/heimdal/dist/lib/krb5/kuserok.c, line 290
- crypto/external/bsd/heimdal/dist/lib/krb5/pkinit.c, line 2137
- crypto/external/bsd/heimdal/dist/lib/krb5/principal.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/prompter_posix.c, line 70
- crypto/external/bsd/heimdal/dist/lib/krb5/verify_krb5_conf.c, line 196
- crypto/external/bsd/heimdal/dist/lib/ntlm/digest.c, line 285
- crypto/external/bsd/heimdal/dist/lib/roken/dirent.c, line 89
- crypto/external/bsd/heimdal/dist/lib/roken/environment.c, line 83
- crypto/external/bsd/heimdal/dist/lib/roken/parse_units.c, line 109
- crypto/external/bsd/heimdal/dist/lib/roken/rkpty.c, line 174
- crypto/external/bsd/heimdal/dist/lib/roken/strsep.c, line 50
- crypto/external/bsd/heimdal/dist/lib/roken/strsep_copy.c, line 53
- crypto/external/bsd/heimdal/dist/lib/sl/sl.c, line 196
- crypto/external/bsd/openssh/dist/auth2-chall.c, line 172
- crypto/external/bsd/openssh/dist/authfile.c, line 290
- crypto/external/bsd/openssh/dist/hostfile.c, 2 times
- crypto/external/bsd/openssh/dist/ldapauth.c, 2 times
- crypto/external/bsd/openssh/dist/readconf.c, line 664
- crypto/external/bsd/openssh/dist/readpass.c, line 105
- crypto/external/bsd/openssh/dist/session.c, line 855
- crypto/external/bsd/openssh/dist/sftp.c, line 2279
- crypto/external/bsd/openssh/dist/ssh-keygen.c, 4 times
- crypto/external/bsd/openssh/dist/ssh-keyscan.c, line 160
- crypto/external/bsd/openssh/dist/ssh.c, line 1269
- crypto/external/bsd/openssh/dist/sshconnect.c, line 599
- crypto/external/bsd/openssh/dist/sshkey.c, 3 times
- crypto/external/bsd/openssh/dist/sshlogin.c, line 159
- crypto/external/bsd/openssl/dist/crypto/pem/pem_lib.c, line 535
- external/bsd/blacklist/bin/run.c, line 150
- external/bsd/file/dist/src/print.c, line 266
- external/bsd/file/dist/src/softmagic.c, 2 times
- external/bsd/file/dist/src/vasprintf.c, line 187
- external/bsd/less/dist/regexp.c, line 559
- external/bsd/libarchive/dist/libarchive/archive_read_support_format_mtree.c, 5 times
- external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c, line 83
- external/bsd/libarchive/dist/libarchive_fe/line_reader.c, line 86
- external/bsd/libbind/dist/irs/nis_nw.c, 3 times
- external/bsd/libbind/dist/irs/nis_sv.c, 2 times
- external/bsd/libbind/dist/isc/ctl_srvr.c, line 693
- external/bsd/libbind/dist/resolv/res_init.c, 3 times
- external/bsd/libc++/dist/libcxx/test/depr/depr.c.headers/string_h.pass.cpp, line 39
- external/bsd/libc++/dist/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp, line 39
- external/bsd/libc++/dist/libcxx/test/std/strings/c.strings/cstring.pass.cpp, line 41
- external/bsd/libc++/dist/libcxx/test/strings/c.strings/cstring.pass.cpp, line 41
- external/bsd/libpcap/dist/pcap-sita.c, 2 times
- external/bsd/libpcap/dist/pcap.c, 2 times
- external/bsd/llvm/dist/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp, 2 times
- external/bsd/mdocml/dist/cgi.c, 3 times
- external/bsd/mdocml/dist/eqn.c, line 416
- external/bsd/mdocml/dist/html.c, line 447
- external/bsd/mdocml/dist/main.c, line 453
- external/bsd/mdocml/dist/mandocdb.c, 2 times
- external/bsd/mdocml/dist/mansearch.c, 2 times
- external/bsd/mdocml/dist/mdoc_man.c, line 313
- external/bsd/mdocml/dist/mdoc_validate.c, line 1189
- external/bsd/mdocml/dist/roff.c, line 1729
- external/bsd/mdocml/dist/tag.c, line 154
- external/bsd/mdocml/dist/term.c, 3 times
- external/bsd/ntp/dist/ntpd/ntp_scanner.c, line 630
- external/bsd/openldap/dist/libraries/libldap/sortctrl.c, 2 times
- external/bsd/openldap/dist/libraries/libldap_r/thr_debug.c, line 281
- external/bsd/openldap/dist/servers/slapd/schema_init.c, 3 times
- external/bsd/openldap/dist/tests/progs/ldif-filter.c, line 72
- external/bsd/pkg_install/dist/add/perform.c, line 210
- external/bsd/pkg_install/dist/delete/pkg_delete.c, line 124
- external/bsd/pkg_install/dist/info/perform.c, 2 times
- external/bsd/pkg_install/dist/lib/pkg_io.c, line 319
- external/bsd/pkg_install/dist/lib/pkg_signature.c, line 238
- external/bsd/pkg_install/dist/lib/plist.c, line 764
- external/bsd/tmux/dist/arguments.c, line 228
- external/bsd/tmux/dist/attributes.c, 2 times
- external/bsd/tmux/dist/cmd-attach-session.c, line 76
- external/bsd/tmux/dist/cmd-command-prompt.c, line 99
- external/bsd/tmux/dist/cmd-switch-client.c, line 65
- external/bsd/tmux/dist/environ.c, line 153
- external/bsd/tmux/dist/format.c, 2 times
- external/bsd/tmux/dist/session.c, line 238
- external/bsd/tmux/dist/style.c, line 68
- external/bsd/tmux/dist/tmux.c, line 368
- external/bsd/tmux/dist/window-copy.c, line 2745
- external/bsd/tmux/dist/xterm-keys.c, line 250
- external/bsd/top/dist/machine/m_netbsd.c, line 885
- external/cddl/osnet/dist/cmd/zfs/zfs_main.c, 2 times
- external/cddl/osnet/dist/common/zfs/zfs_ioctl_compat.c, 4 times
- external/cddl/osnet/dist/lib/libnvpair/libnvpair.c, line 981
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_dataset.c, 2 times
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_sendrecv.c, line 2811
- external/cddl/osnet/dist/lib/libzfs_core/common/libzfs_core.c, 6 times
- external/cddl/osnet/dist/lib/libzfs_core/common/libzfs_core_compat.c, 4 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c, line 6528
- external/gpl2/dtc/dist/tests/supernode_atdepth_offset.c, line 66
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, line 1092
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/strcspn.c, line 25
- external/gpl2/gettext/dist/gettext-tools/src/msgcmp.c, line 381
- external/gpl2/gettext/dist/gettext-tools/src/msgfmt.c, line 900
- external/gpl2/gettext/dist/gettext-tools/src/msgl-cat.c, line 158
- external/gpl2/gettext/dist/gettext-tools/src/msgl-charset.c, line 80
- external/gpl2/gettext/dist/gettext-tools/src/msgl-iconv.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/src/msgmerge.c, 3 times
- external/gpl2/gettext/dist/gettext-tools/src/po-charset.c, line 473
- external/gpl2/gettext/dist/gettext-tools/src/write-po.c, line 1061
- external/gpl2/gettext/dist/gettext-tools/src/x-po.c, 2 times
- external/gpl2/grep/dist/intl/loadmsgcat.c, line 174
- external/gpl2/lvm2/dist/daemons/clvmd/lvm-functions.c, line 651
- external/gpl2/texinfo/dist/intl/loadmsgcat.c, line 813
- external/gpl3/binutils/dist/binutils/objdump.c, line 1474
- external/gpl3/binutils/dist/gas/config/tc-arm.c, line 5888
- external/gpl3/binutils/dist/gas/config/tc-tilegx.c, line 1241
- external/gpl3/binutils/dist/gas/config/tc-tilepro.c, line 1126
- external/gpl3/binutils/dist/gas/config/tc-xtensa.c, line 1375
- external/gpl3/binutils/dist/gas/config/xtensa-relax.c, 2 times
- external/gpl3/binutils/dist/gas/itbl-ops.c, line 723
- external/gpl3/binutils/dist/gold/incremental.cc, line 999
- external/gpl3/binutils/dist/gold/main.cc, line 83
- external/gpl3/binutils/dist/gold/options.cc, line 616
- external/gpl3/binutils/dist/gold/script.cc, 2 times
- external/gpl3/binutils/dist/intl/loadmsgcat.c, line 806
- external/gpl3/binutils/dist/ld/ldlang.c, 3 times
- external/gpl3/binutils/dist/libiberty/cplus-dem.c, line 3081
- external/gpl3/gcc/dist/gcc/fold-const-call.c, line 1396
- external/gpl3/gcc/dist/gcc/gengtype.c, line 566
- external/gpl3/gcc/dist/gcc/lto/lto-partition.c, line 861
- external/gpl3/gcc/dist/intl/loadmsgcat.c, line 806
- external/gpl3/gcc/dist/libcpp/internal.h, line 803
- external/gpl3/gcc/dist/libiberty/cplus-dem.c, line 3085
- external/gpl3/gcc/dist/libsanitizer/asan/asan_win_dll_thunk.cc, line 420
- external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/string.h, line 48
- external/gpl3/gdb/dist/gdb/arm-tdep.c, line 8503
- external/gpl3/gdb/dist/gdb/cli/cli-dump.c, 2 times
- external/gpl3/gdb/dist/gdb/completer.c, 2 times
- external/gpl3/gdb/dist/gdb/gnulib/import/string.in.h, 2 times
- external/gpl3/gdb/dist/intl/loadmsgcat.c, line 806
- external/gpl3/gdb/dist/libiberty/testsuite/test-demangle.c, 2 times
- external/ibm-public/postfix/dist/src/cleanup/cleanup_message.c, 2 times
- external/ibm-public/postfix/dist/src/cleanup/cleanup_milter.c, line 1490
- external/ibm-public/postfix/dist/src/dns/dns_rr_filter.c, line 99
- external/ibm-public/postfix/dist/src/global/dict_ldap.c, 2 times
- external/ibm-public/postfix/dist/src/global/header_body_checks.c, line 232
- external/ibm-public/postfix/dist/src/global/mail_params.c, 2 times
- external/ibm-public/postfix/dist/src/global/server_acl.c, line 200
- external/ibm-public/postfix/dist/src/global/split_addr.c, line 85
- external/ibm-public/postfix/dist/src/global/strip_addr.c, line 71
- external/ibm-public/postfix/dist/src/milter/test-milter.c, 2 times
- external/ibm-public/postfix/dist/src/postconf/postconf_edit.c, 5 times
- external/ibm-public/postfix/dist/src/postconf/postconf_master.c, 4 times
- external/ibm-public/postfix/dist/src/postconf/postconf_print.c, line 99
- external/ibm-public/postfix/dist/src/postmap/postmap.c, line 448
- external/ibm-public/postfix/dist/src/smtp/smtp_key.c, line 130
- external/ibm-public/postfix/dist/src/smtp/smtp_proto.c, line 1170
- external/ibm-public/postfix/dist/src/smtp/smtp_sasl_auth_cache.c, line 119
- external/ibm-public/postfix/dist/src/smtpd/smtpd_check.c, line 2302
- external/ibm-public/postfix/dist/src/trivial-rewrite/resolve.c, line 468
- external/ibm-public/postfix/dist/src/util/dict_thash.c, line 134
- external/ibm-public/postfix/dist/src/util/line_wrap.c, line 102
- external/ibm-public/postfix/dist/src/util/match_ops.c, line 286
- external/ibm-public/postfix/dist/src/util/mystrtok.c, line 73
- external/mpl/bind/dist/lib/isc/httpd.c, line 433
- external/public-domain/sqlite/dist/sqlite3.c, line 112797
- games/monop/monop.c, line 288
- lib/libc/gen/getgrent.c, 4 times
- lib/libc/resolv/res_init.c, 3 times
- lib/libc/stdlib/_env.c, line 136
- lib/libradius/radlib.c, line 1047
- lib/libskey/skeysubr.c, line 309
- lib/libukfs/ukfs.c, line 1341
- lib/libutil/login_cap.c, 2 times
- lib/libutil/ttymsg.c, line 93
- lib/libwrap/options.c, 2 times
- libexec/httpd/bozohttpd.c, 2 times
- sbin/disklabel/main.c, line 1625
- sbin/fdisk/fdisk.c, line 2891
- sbin/routed/parms.c, line 661
- sys/arch/hpc/stand/hpcboot/hpcmenu.cpp, line 303
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_dll_thunk.cc, line 75
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_option.c, 3 times
- tests/lib/libc/string/t_strcspn.c, 9 times
- usr.bin/ftp/cmds.c, line 1896
- usr.bin/ftp/util.c, line 205
- usr.bin/indent/args.c, line 358
- usr.bin/make/var.c, 2 times
- usr.bin/mkdep/mkdep.c, line 302
- usr.bin/nc/socks.c, line 336
- usr.bin/patch/mkpath.c, line 63
- usr.bin/pathchk/pathchk.c, line 113
- usr.bin/radioctl/radioctl.c, line 376
- usr.bin/systat/ifstat.c, line 374
- usr.bin/systat/syscall.c, 2 times
- usr.bin/units/units.c, 3 times
- usr.bin/whois/whois.c, line 252
- usr.sbin/installboot/installboot.c, 3 times
- usr.sbin/makemandb/apropos-utils.c, 3 times
- usr.sbin/makemandb/makemandb.c, 2 times
- usr.sbin/rtadvd/config.c, 2 times
- usr.sbin/sysinst/main.c, line 629
- usr.sbin/sysinst/net.c, 2 times