Defined in 7 files as a prototype:
Defined in 2 files as a macro:
Defined in 6 files as a function:
Referenced in 361 files:
- bin/dd/misc.c, line 126
- bin/ps/fmt.c, line 129
- bin/ps/print.c, 39 times
- bin/ps/ps.c, line 1292
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/tst.usdt.c, line 58
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, 3 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 671
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_sugar.c, line 117
- contrib/binutils/bfd/bfd.c, line 384
- contrib/binutils/bfd/elf32-arm.c, 2 times
- contrib/binutils/gas/read.c, 2 times
- contrib/binutils/gas/stabs.c, 2 times
- contrib/blacklist/port/pidfile.c, line 124
- contrib/capsicum-test/capsicum-test-main.cc, line 101
- contrib/dma/dma.c, line 120
- contrib/dma/spool.c, 8 times
- contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c, line 1982
- contrib/file/src/apprentice.c, 3 times
- contrib/file/src/funcs.c, line 152
- contrib/file/src/magic.c, 5 times
- contrib/lib9p/backend/fs.c, 2 times
- contrib/libcxxrt/libelftc_dem_gnu3.c, line 2312
- contrib/libpcap/missing/snprintf.c, line 495
- contrib/libpcap/pcap-linux.c, 3 times
- contrib/libpcap/portability.h, line 139
- contrib/llvm-project/lldb/tools/compact-unwind/compact-unwind-dumper.c, 3 times
- contrib/mtree/specspec.c, 3 times
- contrib/netbsd-tests/lib/libc/t_gdtoa.c, line 57
- contrib/netbsd-tests/lib/libcurses/director/director.c, 4 times
- contrib/netbsd-tests/lib/libcurses/slave/commands.c, 3 times
- contrib/netbsd-tests/lib/libcurses/slave/slave.c, line 127
- contrib/netbsd-tests/lib/libutil/t_pidfile.c, line 134
- contrib/ntp/libntp/snprintf.c, 2 times
- contrib/nvi/common/recover.c, 2 times
- contrib/nvi/common/util.c, line 114
- contrib/nvi/ex/ex_cscope.c, line 414
- contrib/nvi/ex/ex_shell.c, line 51
- contrib/ofed/libibcm/cm.c, 2 times
- contrib/ofed/libibverbs/device.c, line 184
- contrib/ofed/libibverbs/examples/rc_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/srq_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/uc_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/ud_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, 2 times
- contrib/ofed/libibverbs/sysfs.c, line 85
- contrib/ofed/libibverbs/verbs.c, line 670
- contrib/openbsm/bin/auditd/auditd_darwin.c, line 110
- contrib/openbsm/bin/auditdistd/proto_tls.c, 5 times
- contrib/openbsm/libauditd/auditd_lib.c, 6 times
- contrib/openpam/bin/openpam_dump_policy/openpam_dump_policy.c, 2 times
- contrib/openpam/lib/libpam/openpam_asprintf.h, line 37
- contrib/openpam/lib/libpam/openpam_log.c, line 125
- contrib/openpam/lib/libpam/openpam_set_option.c, line 90
- contrib/openpam/lib/libpam/pam_setenv.c, line 81
- contrib/openpam/t/t_pam_conv.c, 5 times
- contrib/pf/authpf/authpf.c, 5 times
- contrib/pf/pflogd/pidfile.c, line 73
- contrib/tcpdump/missing/snprintf.c, line 491
- contrib/telnet/libtelnet/kerberos5.c, 4 times
- contrib/telnet/telnet/commands.c, line 1657
- crypto/heimdal/appl/ftp/ftp/gssapi.c, line 290
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 994
- crypto/heimdal/appl/ftp/ftpd/gssapi.c, line 290
- crypto/heimdal/appl/ftp/ftpd/ls.c, 9 times
- crypto/heimdal/appl/gssmask/gssmask.c, 2 times
- crypto/heimdal/appl/login/env.c, line 58
- crypto/heimdal/appl/login/login.c, line 124
- crypto/heimdal/appl/rcp/rcp.c, 5 times
- crypto/heimdal/appl/rsh/rsh.c, line 271
- crypto/heimdal/appl/rsh/rshd.c, 7 times
- crypto/heimdal/appl/su/su.c, 2 times
- crypto/heimdal/appl/telnet/libtelnet/kerberos5.c, 4 times
- crypto/heimdal/appl/telnet/telnet/commands.c, line 1590
- crypto/heimdal/appl/test/gssapi_client.c, line 121
- crypto/heimdal/appl/test/http_client.c, 2 times
- crypto/heimdal/appl/test/nt_gss_client.c, line 60
- crypto/heimdal/kadmin/ank.c, line 129
- crypto/heimdal/kadmin/check.c, 5 times
- crypto/heimdal/kadmin/cpw.c, line 92
- crypto/heimdal/kadmin/get.c, 3 times
- crypto/heimdal/kadmin/kadmin.c, line 172
- crypto/heimdal/kadmin/kadmind.c, line 122
- crypto/heimdal/kadmin/stash.c, 3 times
- crypto/heimdal/kcm/cache.c, line 50
- crypto/heimdal/kcm/protocol.c, line 1086
- crypto/heimdal/kdc/announce.c, 2 times
- crypto/heimdal/kdc/config.c, line 175
- crypto/heimdal/kdc/digest.c, 3 times
- crypto/heimdal/kdc/hpropd.c, line 210
- crypto/heimdal/kdc/kstash.c, 3 times
- crypto/heimdal/kdc/log.c, line 54
- crypto/heimdal/kdc/pkinit.c, line 2046
- crypto/heimdal/kpasswd/kpasswd-generator.c, 2 times
- crypto/heimdal/kpasswd/kpasswd.c, 2 times
- crypto/heimdal/kpasswd/kpasswdd.c, 2 times
- crypto/heimdal/kuser/kinit.c, 2 times
- crypto/heimdal/kuser/kswitch.c, line 154
- crypto/heimdal/lib/asn1/asn1_gen.c, line 65
- crypto/heimdal/lib/asn1/asn1parse.c, 2 times
- crypto/heimdal/lib/asn1/check-der.c, 13 times
- crypto/heimdal/lib/asn1/check-gen.c, 2 times
- crypto/heimdal/lib/asn1/der_format.c, line 98
- crypto/heimdal/lib/asn1/gen.c, 13 times
- crypto/heimdal/lib/asn1/gen_copy.c, 4 times
- crypto/heimdal/lib/asn1/gen_decode.c, 8 times
- crypto/heimdal/lib/asn1/gen_encode.c, 6 times
- crypto/heimdal/lib/asn1/gen_free.c, 2 times
- crypto/heimdal/lib/asn1/gen_length.c, 4 times
- crypto/heimdal/lib/asn1/gen_template.c, 12 times
- crypto/heimdal/lib/com_err/parse.c, 2 times
- crypto/heimdal/lib/gssapi/krb5/accept_sec_context.c, line 87
- crypto/heimdal/lib/gssapi/krb5/add_cred.c, line 179
- crypto/heimdal/lib/gssapi/krb5/display_status.c, 3 times
- crypto/heimdal/lib/gssapi/mech/gss_display_status.c, 3 times
- crypto/heimdal/lib/gssapi/mech/gss_krb5.c, line 67
- crypto/heimdal/lib/gssapi/ntlm/display_name.c, line 62
- crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c, line 131
- crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c, line 378
- crypto/heimdal/lib/gssapi/test_common.c, line 59
- crypto/heimdal/lib/gssapi/test_names.c, 2 times
- crypto/heimdal/lib/hdb/db.c, 3 times
- crypto/heimdal/lib/hdb/db3.c, 3 times
- crypto/heimdal/lib/hdb/dbinfo.c, 2 times
- crypto/heimdal/lib/hdb/hdb-ldap.c, 6 times
- crypto/heimdal/lib/hdb/hdb-mitdb.c, 3 times
- crypto/heimdal/lib/hdb/hdb.c, 2 times
- crypto/heimdal/lib/hdb/ndbm.c, 5 times
- crypto/heimdal/lib/hx509/ca.c, line 968
- crypto/heimdal/lib/hx509/cert.c, line 3428
- crypto/heimdal/lib/hx509/cms.c, 3 times
- crypto/heimdal/lib/hx509/error.c, line 173
- crypto/heimdal/lib/hx509/hxtool.c, line 375
- crypto/heimdal/lib/hx509/ks_dir.c, line 162
- crypto/heimdal/lib/hx509/ks_p11.c, 3 times
- crypto/heimdal/lib/hx509/softp11.c, 4 times
- crypto/heimdal/lib/ipc/client.c, line 355
- crypto/heimdal/lib/ipc/server.c, line 316
- crypto/heimdal/lib/kadm5/ad.c, 13 times
- crypto/heimdal/lib/kadm5/context_s.c, 3 times
- crypto/heimdal/lib/kadm5/get_princs_s.c, line 97
- crypto/heimdal/lib/kadm5/init_c.c, 2 times
- crypto/heimdal/lib/kadm5/iprop-log.c, line 53
- crypto/heimdal/lib/kadm5/ipropd_master.c, 3 times
- crypto/heimdal/lib/kadm5/ipropd_slave.c, 3 times
- crypto/heimdal/lib/kadm5/log.c, line 996
- crypto/heimdal/lib/kafs/common.c, line 352
- crypto/heimdal/lib/krb5/acache.c, line 1035
- crypto/heimdal/lib/krb5/cache.c, 3 times
- crypto/heimdal/lib/krb5/config_file.c, 2 times
- crypto/heimdal/lib/krb5/error_string.c, 2 times
- crypto/heimdal/lib/krb5/expand_path.c, line 303
- crypto/heimdal/lib/krb5/fcache.c, 2 times
- crypto/heimdal/lib/krb5/init_creds_pw.c, 3 times
- crypto/heimdal/lib/krb5/kcm.c, line 984
- crypto/heimdal/lib/krb5/keytab.c, line 451
- crypto/heimdal/lib/krb5/krbhst.c, 3 times
- crypto/heimdal/lib/krb5/mcache.c, line 76
- crypto/heimdal/lib/krb5/plugin.c, 4 times
- crypto/heimdal/lib/krb5/replay.c, 2 times
- crypto/heimdal/lib/krb5/scache.c, 10 times
- crypto/heimdal/lib/krb5/send_to_kdc.c, 2 times
- crypto/heimdal/lib/krb5/test_cc.c, 2 times
- crypto/heimdal/lib/krb5/test_princ.c, line 80
- crypto/heimdal/lib/krb5/verify_krb5_conf.c, line 592
- crypto/heimdal/lib/roken/roken_gethostby.c, 3 times
- crypto/heimdal/lib/roken/setenv.c, line 56
- crypto/heimdal/lib/roken/write_pid.c, line 44
- crypto/heimdal/lib/sl/slc-gram.c, 2 times
- crypto/openssh/auth-options.c, line 335
- crypto/openssh/authfile.c, 2 times
- crypto/openssh/hostfile.c, 2 times
- crypto/openssh/misc.c, line 479
- crypto/openssh/sshkey-xmss.c, 6 times
- gnu/usr.bin/gdb/kgdb/kthr.c, line 62
- kerberos5/lib/libgssapi_krb5/gss_krb5.c, line 72
- lib/libc/gen/feature_present.c, line 54
- lib/libc/gen/getttyent.c, 2 times
- lib/libc/locale/collate.c, line 131
- lib/libc/locale/setrunelocale.c, line 115
- lib/libc/net/getservent.c, 2 times
- lib/libc/posix1e/acl_to_text.c, 9 times
- lib/libc/rpc/getrpcent.c, 2 times
- lib/libc/rpc/rpc_generic.c, 3 times
- lib/libc/stdio/tmpfile.c, line 69
- lib/libc/stdlib/strfmon.c, line 577
- lib/libc/tests/gen/dlopen_empty_test.c, line 68
- lib/libc/tests/nss/getaddrinfo_test.c, line 494
- lib/libc/tests/nss/gethostby_test.c, line 1076
- lib/libc/tests/resolv/resolv_test.c, line 311
- lib/libc/tests/stdlib/dynthr_test.c, line 74
- lib/libc/tests/sys/sendfile_test.c, 2 times
- lib/libc/uuid/uuid_to_string.c, line 62
- lib/libefivar/efivar-dp-xlate.c, 4 times
- lib/libfetch/http.c, 2 times
- lib/libgeom/geom_util.c, line 299
- lib/libgssapi/gss_display_status.c, 3 times
- lib/libmp/mpasbn.c, 3 times
- lib/libpam/modules/pam_exec/pam_exec.c, 2 times
- lib/libpam/modules/pam_ftpusers/pam_ftpusers.c, line 93
- lib/libpam/modules/pam_krb5/pam_krb5.c, 3 times
- lib/libpam/modules/pam_ksu/pam_ksu.c, 4 times
- lib/libpmc/pmu-events/jevents.c, 2 times
- lib/libproc/tests/proc_test.c, line 57
- lib/libsbuf/tests/sbuf_stdio_test.c, 2 times
- lib/libsbuf/tests/sbuf_string_test.c, line 144
- lib/libutil/pw_util.c, 2 times
- lib/libypclnt/ypclnt_error.c, line 59
- libexec/ftpd/ftpd.c, 2 times
- libexec/phttpget/phttpget.c, 3 times
- libexec/rtld-elf/tests/ld_library_pathfds.c, 6 times
- libexec/tftpd/tftp-options.c, 4 times
- libexec/tftpd/tftpd.c, line 359
- sbin/bectl/bectl_jail.c, 3 times
- sbin/devd/devd.cc, line 856
- sbin/devmatch/devmatch.c, line 477
- sbin/dhclient/dhclient.c, 2 times
- sbin/gbde/gbde.c, line 533
- sbin/init/init.c, 2 times
- sbin/iscontrol/fsm.c, line 299
- sbin/iscontrol/iscontrol.c, 4 times
- sbin/kldconfig/kldconfig.c, line 268
- sbin/ldconfig/elfhints.c, line 262
- sbin/mdmfs/mdmfs.c, line 392
- sbin/mount/mount.c, line 705
- sbin/mount_fusefs/mount_fusefs.c, 2 times
- sbin/mount_nfs/mount_nfs.c, line 279
- sbin/nvmecontrol/comnd.c, line 302
- sbin/pfctl/tests/pfctl_test.c, 3 times
- sbin/swapon/swapon.c, line 427
- stand/common/module.c, line 455
- stand/efi/libefi/devpath.c, 36 times
- stand/i386/zfsboot/zfsboot.c, line 513
- stand/libsa/zfs/zfs.c, 9 times
- stand/libsa/zfs/zfsimpl.c, 2 times
- sys/arm/mv/mv_cp110_clock.c, line 149
- sys/cam/ctl/ctl_backend_block.c, line 2167
- sys/contrib/openzfs/cmd/zdb/zdb.c, 2 times
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, line 4145
- sys/contrib/openzfs/cmd/zpool/zpool_iter.c, 5 times
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, line 8537
- sys/contrib/openzfs/cmd/ztest/ztest.c, 2 times
- sys/contrib/openzfs/cmd/zvol_id/zvol_id_main.c, 2 times
- sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c, line 190
- sys/contrib/openzfs/lib/libshare/os/linux/nfs.c, line 405
- sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c, line 1133
- sys/contrib/openzfs/lib/libzfsbootenv/lzbe_device.c, line 92
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_device_path_os.c, 5 times
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_import_os.c, line 233
- sys/contrib/openzfs/lib/libzutil/zutil_import.c, line 1053
- sys/contrib/openzfs/module/zcommon/zfeature_common.c, line 172
- sys/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/mkbusy.c, line 134
- sys/dev/bhnd/bhnd_subr.c, 2 times
- sys/dev/bhnd/nvram/bhnd_nvram_private.h, 2 times
- sys/dev/nvdimm/nvdimm_ns.c, line 76
- sys/dev/nvdimm/nvdimm_spa.c, 2 times
- sys/gnu/gcov/gcov_fs.c, 2 times
- sys/kern/kern_jail.c, 8 times
- sys/net/if_ethersubr.c, line 1452
- tests/sys/vfs/lookup_cap_dotdot.c, line 61
- tools/regression/gaithrstress/gaithrstress.c, line 118
- tools/regression/poll/pipepoll.c, line 39
- tools/regression/poll/sockpoll.c, line 43
- tools/test/iconv/tablegen/tablegen.c, 2 times
- tools/tools/crypto/cryptocheck.c, line 250
- tools/tools/intel-ucode-split/intel-ucode-split.c, 2 times
- tools/tools/syscall_timing/syscall_timing.c, line 1099
- usr.bin/calendar/events.c, line 190
- usr.bin/chpass/edit.c, 2 times
- usr.bin/dc/inout.c, line 312
- usr.bin/diff3/diff3.c, 3 times
- usr.bin/fetch/fetch.c, 3 times
- usr.bin/hexdump/odsyntax.c, 2 times
- usr.bin/hexdump/parse.c, line 402
- usr.bin/locale/locale.c, line 769
- usr.bin/localedef/charmap.c, line 305
- usr.bin/localedef/monetary.c, 3 times
- usr.bin/localedef/numeric.c, 2 times
- usr.bin/logger/logger.c, line 378
- usr.bin/login/login.c, 2 times
- usr.bin/mkimg/vmdk.c, line 129
- usr.bin/mktemp/mktemp.c, 2 times
- usr.bin/mkuzip/mkuzip.c, line 263
- usr.bin/newgrp/newgrp.c, line 294
- usr.bin/nice/nice.c, line 74
- usr.bin/patch/backupfile.c, 2 times
- usr.bin/patch/patch.c, 4 times
- usr.bin/procstat/procstat.c, line 187
- usr.bin/procstat/procstat_rusage.c, 2 times
- usr.bin/procstat/procstat_sigs.c, 2 times
- usr.bin/procstat/procstat_threads.c, line 70
- usr.bin/quota/quota.c, 3 times
- usr.bin/rctl/rctl.c, 9 times
- usr.bin/script/script.c, line 165
- usr.bin/sdiff/edit.c, 4 times
- usr.bin/sdiff/sdiff.c, 2 times
- usr.bin/seq/seq.c, 2 times
- usr.bin/stdbuf/stdbuf.c, 4 times
- usr.bin/systat/devs.c, line 324
- usr.bin/tftp/main.c, 7 times
- usr.bin/tip/tip/cu.c, 2 times
- usr.bin/truss/setup.c, line 554
- usr.bin/truss/syscalls.c, line 1023
- usr.bin/units/units.c, 2 times
- usr.bin/usbhidctl/usbhid.c, line 106
- usr.sbin/acpi/acpidump/acpi.c, 4 times
- usr.sbin/autofs/automount.c, 2 times
- usr.sbin/autofs/autounmountd.c, line 160
- usr.sbin/autofs/common.c, 6 times
- usr.sbin/autofs/defined.c, line 191
- usr.sbin/bhyve/pci_irq.c, 2 times
- usr.sbin/bhyve/pci_lpc.c, line 438
- usr.sbin/bhyve/pci_nvme.c, line 581
- usr.sbin/bhyveload/bhyveload.c, line 609
- usr.sbin/bluetooth/btpand/btpand.c, line 121
- usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c, 2 times
- usr.sbin/bluetooth/l2ping/l2ping.c, line 155
- usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c, line 1479
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c, 2 times
- usr.sbin/btxld/btxld.c, line 558
- usr.sbin/config/main.c, 3 times
- usr.sbin/cpucontrol/cpucontrol.c, line 360
- usr.sbin/ctladm/ctladm.c, line 3613
- usr.sbin/ctld/chap.c, line 255
- usr.sbin/ctld/ctld.c, 4 times
- usr.sbin/ctld/discovery.c, 2 times
- usr.sbin/ctld/kernel.c, 2 times
- usr.sbin/ctld/keys.c, line 193
- usr.sbin/ctld/uclparse.c, line 202
- usr.sbin/efibootmgr/efibootmgr.c, 5 times
- usr.sbin/fmtree/specspec.c, 3 times
- usr.sbin/inetd/builtins.c, 4 times
- usr.sbin/iostat/iostat.c, line 878
- usr.sbin/iovctl/parse.c, line 408
- usr.sbin/iscsid/chap.c, line 255
- usr.sbin/iscsid/keys.c, line 193
- usr.sbin/jls/jls.c, 3 times
- usr.sbin/kbdmap/kbdmap.c, 6 times
- usr.sbin/lpr/common_source/net.c, 2 times
- usr.sbin/lpr/common_source/rmjob.c, line 351
- usr.sbin/lpr/lpd/lpd.c, 15 times
- usr.sbin/newsyslog/newsyslog.c, 3 times
- usr.sbin/nscd/config.c, 3 times
- usr.sbin/nscd/mp_rs_query.c, line 210
- usr.sbin/nscd/mp_ws_query.c, line 218
- usr.sbin/nscd/query.c, line 1245
- usr.sbin/pkg/config.c, 2 times
- usr.sbin/pmcannotate/pmcannotate.c, 4 times
- usr.sbin/pw/pw_user.c, 2 times
- usr.sbin/rarpd/rarpd.c, 2 times
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, 3 times
- usr.sbin/sesutil/sesutil.c, line 579
- usr.sbin/setfib/setfib.c, line 70
- usr.sbin/setfmac/setfmac.c, 2 times
- usr.sbin/syslogd/syslogd.c, line 3828
- usr.sbin/trim/trim.c, line 160
- usr.sbin/tzsetup/tzsetup.c, 3 times
- usr.sbin/uefisign/uefisign.c, line 170
- usr.sbin/vidcontrol/vidcontrol.c, line 253
- usr.sbin/watchdogd/watchdogd.c, line 531
- usr.sbin/ypldap/log.c, 2 times
- usr.sbin/yppush/yppush_main.c, line 446