Defined in 4 files as a macro:
Defined in 1 files as a function:
Referenced in 329 files:
- bin/chflags/chflags.c, line 149
- bin/dd/args.c, 3 times
- bin/ed/ed.h, line 107
- bin/ps/ps.c, 3 times
- bin/pwait/pwait.c, line 87
- bin/sh/arith_yylex.c, 2 times
- bin/sh/cd.c, line 404
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_pid.c, line 929
- contrib/apr-util/crypto/crypt_blowfish.c, 2 times
- contrib/apr/file_io/unix/filepath.c, line 43
- contrib/apr/include/apr_errno.h, 2 times
- contrib/apr/strings/apr_cstr.c, 2 times
- contrib/apr/strings/apr_strings.c, line 345
- contrib/atf/atf-c/detail/text.c, 2 times
- contrib/binutils/libiberty/getcwd.c, line 49
- contrib/binutils/libiberty/getpwd.c, 2 times
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/binutils/libiberty/strtol.c, line 157
- contrib/binutils/libiberty/strtoul.c, line 109
- contrib/blacklist/port/_strtoi.h, 2 times
- contrib/bmake/cond.c, line 362
- contrib/bmake/var.c, 4 times
- contrib/elftoolchain/brandelf/brandelf.c, line 112
- contrib/elftoolchain/libelftc/elftc_timestamp.c, line 47
- contrib/elftoolchain/libelftc/libelftc_dem_arm.c, 3 times
- contrib/elftoolchain/libelftc/libelftc_dem_gnu2.c, 3 times
- contrib/gdtoa/gethex.c, 3 times
- contrib/gdtoa/strtod.c, 2 times
- contrib/gdtoa/strtodg.c, 4 times
- contrib/jemalloc/src/malloc_io.c, 3 times
- contrib/ldns/str2host.c, line 215
- contrib/lib9p/request.c, 2 times
- contrib/lib9p/rfuncs.c, 4 times
- contrib/lib9p/utils.c, line 821
- contrib/libarchive/cpio/test/test_basic.c, 5 times
- contrib/libarchive/cpio/test/test_format_newc.c, 4 times
- contrib/libarchive/libarchive/archive_read_disk_set_standard_lookup.c, 2 times
- contrib/libarchive/libarchive/archive_write_disk_set_standard_lookup.c, 2 times
- contrib/libarchive/libarchive/archive_write_set_format_ar.c, 7 times
- contrib/libarchive/libarchive/archive_write_set_format_cpio.c, 2 times
- contrib/libarchive/libarchive/archive_write_set_format_cpio_newc.c, 2 times
- contrib/libarchive/libarchive/archive_write_set_format_gnutar.c, 5 times
- contrib/libarchive/libarchive/archive_write_set_format_raw.c, 2 times
- contrib/libarchive/libarchive/archive_write_set_format_ustar.c, 7 times
- contrib/libarchive/libarchive/archive_write_set_format_v7tar.c, 5 times
- contrib/libedit/eln.c, line 52
- contrib/libpcap/fmtutils.c, line 130
- contrib/libpcap/pcap-dlpi.c, line 898
- contrib/libpcap/pcap-linux.c, line 4689
- contrib/libucl/src/ucl_parser.c, 3 times
- contrib/libxo/libxo/libxo.c, line 3769
- contrib/llvm-project/libcxx/include/errno.h, line 279
- contrib/llvm-project/libcxx/src/string.cpp, 2 times
- contrib/llvm-project/libcxx/src/system_error.cpp, line 103
- contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp, line 1648
- contrib/llvm-project/llvm/lib/TableGen/TGLexer.cpp, 2 times
- contrib/llvm-project/openmp/runtime/src/kmp_i18n.cpp, line 734
- contrib/mandoc/compat_strtonum.c, 4 times
- contrib/netbsd-tests/include/t_errno.c, line 670
- contrib/netbsd-tests/lib/libc/gen/t_ttyname.c, line 108
- contrib/netbsd-tests/lib/libc/regex/t_regex_att.c, line 281
- contrib/netbsd-tests/lib/libc/stdlib/t_strtod.c, line 291
- contrib/netbsd-tests/lib/libc/stdlib/t_strtoi.c, 5 times
- contrib/netbsd-tests/lib/libc/stdlib/t_strtol.c, line 180
- contrib/netbsd-tests/lib/libc/string/t_strerror.c, line 112
- contrib/netbsd-tests/lib/libc/sys/t_getlogin.c, line 53
- contrib/ntp/lib/isc/parseint.c, line 42
- contrib/ntp/lib/isc/strtoul.c, line 123
- contrib/ntp/lib/isc/unix/file.c, line 439
- contrib/ntp/libntp/snprintf.c, 3 times
- contrib/ntp/libntp/vint64ops.c, line 79
- contrib/ntp/ntpd/ntp_leapsec.c, 3 times
- contrib/ntp/ntpd/ntp_scanner.c, 2 times
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 1117
- contrib/ntp/sntp/libopts/parse-duration.c, 2 times
- contrib/nvi/common/util.c, 2 times
- contrib/ofed/infiniband-diags/src/ibccconfig.c, 2 times
- contrib/ofed/opensm/opensm/osm_subnet.c, 2 times
- contrib/one-true-awk/lib.c, 2 times
- contrib/openbsm/libbsm/bsm_errno.c, line 115
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libmilter/listener.c, line 833
- contrib/sendmail/libsm/strto.c, 3 times
- contrib/sendmail/src/conf.c, line 4221
- contrib/sendmail/src/deliver.c, line 5966
- contrib/sendmail/src/srvrsmtp.c, line 4727
- contrib/sendmail/src/tlsh.c, 3 times
- contrib/serf/buckets/dechunk_buckets.c, 3 times
- contrib/serf/buckets/response_buckets.c, 2 times
- contrib/subversion/subversion/libsvn_subr/string.c, 2 times
- contrib/tcsh/sh.dir.c, line 70
- contrib/tnftp/src/fetch.c, 2 times
- contrib/unbound/sldns/str2wire.c, line 1056
- contrib/wpa/src/utils/os_internal.c, line 163
- contrib/wpa/src/utils/os_unix.c, line 333
- crypto/heimdal/appl/login/limits_conf.c, line 166
- crypto/heimdal/appl/rsh/limits_conf.c, line 166
- crypto/heimdal/kadmin/server.c, line 283
- crypto/heimdal/kdc/krb5tgs.c, line 661
- crypto/heimdal/lib/asn1/der_get.c, 3 times
- crypto/heimdal/lib/asn1/template.c, line 539
- crypto/heimdal/lib/gssapi/krb5/cfx.c, 4 times
- crypto/heimdal/lib/krb5/aname_to_localname.c, line 86
- crypto/heimdal/lib/krb5/changepw.c, line 606
- crypto/heimdal/lib/krb5/parse-name-test.c, 2 times
- crypto/heimdal/lib/krb5/principal.c, 6 times
- crypto/heimdal/lib/krb5/store_mem.c, line 99
- crypto/heimdal/lib/krb5/transited.c, line 351
- crypto/heimdal/lib/ntlm/ntlm.c, line 190
- crypto/heimdal/lib/roken/strerror_r.c, 2 times
- crypto/heimdal/lib/sl/sl.c, line 280
- crypto/openssh/misc.c, line 424
- crypto/openssh/openbsd-compat/bsd-snprintf.c, line 162
- crypto/openssh/openbsd-compat/fmt_scaled.c, 7 times
- crypto/openssh/openbsd-compat/getcwd.c, line 195
- crypto/openssh/openbsd-compat/strtoll.c, 2 times
- crypto/openssh/openbsd-compat/strtonum.c, 4 times
- crypto/openssh/openbsd-compat/strtoul.c, line 95
- crypto/openssh/openbsd-compat/strtoull.c, line 97
- crypto/openssh/sftp.c, line 1457
- crypto/openssh/ssh-keygen.c, 3 times
- crypto/openssl/apps/opt.c, 4 times
- crypto/openssl/apps/s_client.c, line 487
- include/nss.h, line 52
- kerberos5/lib/libgssapi_krb5/pname_to_uid.c, line 68
- lib/libbluetooth/hci.c, line 812
- lib/libc/gen/getcwd.c, 2 times
- lib/libc/gen/getgrent.c, 15 times
- lib/libc/gen/getlogin.c, 3 times
- lib/libc/gen/getnetgrent.c, 6 times
- lib/libc/gen/getpwent.c, 11 times
- lib/libc/gen/pw_scan.c, 2 times
- lib/libc/gen/setmode.c, line 209
- lib/libc/gen/ttyname.c, 3 times
- lib/libc/iconv/_strtol.h, 2 times
- lib/libc/iconv/_strtoul.h, line 111
- lib/libc/locale/wcstoimax.c, line 124
- lib/libc/locale/wcstol.c, line 118
- lib/libc/locale/wcstoll.c, line 124
- lib/libc/locale/wcstoul.c, line 116
- lib/libc/locale/wcstoull.c, line 122
- lib/libc/locale/wcstoumax.c, line 122
- lib/libc/net/getaddrinfo.c, line 1826
- lib/libc/net/gethostnamadr.c, 2 times
- lib/libc/net/getnetnamadr.c, 2 times
- lib/libc/net/getprotoent.c, 2 times
- lib/libc/net/getservent.c, 7 times
- lib/libc/rpc/getrpcent.c, 9 times
- lib/libc/stdlib/ptsname.c, 2 times
- lib/libc/stdlib/strtoimax.c, line 141
- lib/libc/stdlib/strtol.c, line 140
- lib/libc/stdlib/strtoll.c, line 141
- lib/libc/stdlib/strtonum.c, 4 times
- lib/libc/stdlib/strtoul.c, line 118
- lib/libc/stdlib/strtoull.c, line 119
- lib/libc/stdlib/strtoumax.c, line 119
- lib/libc/stdtime/strptime.c, line 507
- lib/libc/string/strerror.c, line 108
- lib/libc/tests/string/strerror_test.c, line 110
- lib/libcasper/services/cap_grp/cap_grp.c, 4 times
- lib/libcasper/services/cap_pwd/cap_pwd.c, 2 times
- lib/libnetbsd/strsuftoll.c, 2 times
- lib/libnetgraph/msg.c, line 347
- lib/libopenbsd/imsg-buffer.c, line 79
- lib/libopenbsd/imsg.c, 2 times
- lib/libpathconv/abs2rel.c, line 109
- lib/libpathconv/rel2abs.c, line 130
- lib/libstdbuf/stdbuf.c, line 75
- lib/libsysdecode/errno.c, line 113
- lib/libthr/thread/thr_attr.c, 2 times
- lib/libutil/expand_number.c, 2 times
- lib/libutil/login_cap.c, 9 times
- libexec/rtld-elf/tests/libpythagoras/pythagoras.c, line 38
- sbin/camcontrol/modeedit.c, line 924
- sbin/ccdconfig/ccdconfig.c, 2 times
- sbin/ffsinfo/ffsinfo.c, 3 times
- sbin/geom/misc/subr.c, line 183
- sbin/ifconfig/ifbridge.c, line 78
- sbin/ifconfig/ifieee80211.c, 2 times
- sbin/ifconfig/ifvxlan.c, line 68
- sbin/ipfw/dummynet.c, line 1722
- sbin/ipfw/ipfw2.c, line 113
- sbin/newfs/newfs.c, line 507
- sbin/savecore/savecore.c, line 255
- sbin/sysctl/sysctl.c, line 896
- sys/amd64/vmm/vmm_dev.c, line 783
- sys/arm/allwinner/aw_usbphy.c, line 351
- sys/arm/allwinner/axp209.c, line 739
- sys/arm/allwinner/axp81x.c, line 872
- sys/arm/allwinner/clkng/aw_clk_frac.c, 3 times
- sys/arm/allwinner/clkng/aw_clk_m.c, 2 times
- sys/arm/allwinner/clkng/aw_clk_mipi.c, line 171
- sys/arm/allwinner/clkng/aw_clk_nkmp.c, 2 times
- sys/arm/allwinner/clkng/aw_clk_nm.c, 2 times
- sys/arm/allwinner/clkng/aw_clk_nmm.c, 2 times
- sys/arm/allwinner/clkng/aw_clk_np.c, 2 times
- sys/arm/allwinner/if_awg.c, 2 times
- sys/arm/freescale/imx/imx6_anatop.c, 3 times
- sys/arm/mv/mv_armv7_machdep.c, 5 times
- sys/arm/mv/mv_common.c, 3 times
- sys/arm/mv/mv_localbus.c, 2 times
- sys/arm/mv/mv_pci.c, 5 times
- sys/arm/mv/mvebu_gpio.c, line 810
- sys/arm/nvidia/as3722_gpio.c, line 535
- sys/arm/nvidia/drm2/tegra_hdmi.c, line 441
- sys/arm/nvidia/tegra124/tegra124_clk_per.c, line 661
- sys/arm/nvidia/tegra124/tegra124_clk_pll.c, 10 times
- sys/arm/nvidia/tegra_gpio.c, line 837
- sys/arm/nvidia/tegra_soctherm.c, 3 times
- sys/arm/ti/clk/ti_clk_dpll.c, 4 times
- sys/arm/ti/clk/ti_clkctrl.c, line 276
- sys/arm64/freescale/imx/clk/imx_clk_composite.c, 2 times
- sys/arm64/rockchip/clk/rk_clk_composite.c, 3 times
- sys/arm64/rockchip/clk/rk_clk_fract.c, 2 times
- sys/arm64/rockchip/rk3399_emmcphy.c, line 147
- sys/arm64/rockchip/rk805.c, 2 times
- sys/arm64/rockchip/rk_tsadc.c, 3 times
- sys/arm64/rockchip/rk_typec_phy.c, 3 times
- sys/arm64/rockchip/rk_usb2phy.c, 4 times
- sys/compat/cloudabi/cloudabi_errno.c, line 108
- sys/compat/linux/linux_getcwd.c, line 71
- sys/compat/linuxkpi/common/include/linux/kernel.h, 4 times
- sys/compat/linuxkpi/common/include/linux/pci.h, line 614
- sys/contrib/libsodium/src/libsodium/sodium/codecs.c, 3 times
- sys/contrib/ncsw/inc/error_ext.h, line 128
- sys/contrib/openzfs/cmd/zed/zed_conf.c, line 528
- sys/contrib/openzfs/cmd/zgenhostid/zgenhostid.c, 2 times
- sys/contrib/openzfs/cmd/zinject/zinject.c, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c, line 3756
- sys/contrib/openzfs/lib/libzfs/libzfs_pool.c, line 1304
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, 4 times
- sys/contrib/openzfs/lib/libzfs/libzfs_util.c, 2 times
- sys/contrib/openzfs/module/os/linux/spl/spl-generic.c, line 486
- sys/contrib/openzfs/module/os/linux/zfs/zpl_xattr.c, 3 times
- sys/contrib/openzfs/module/unicode/u8_textprep.c, 3 times
- sys/contrib/openzfs/module/zfs/zcp_global.c, line 64
- sys/contrib/openzfs/module/zfs/zfs_ioctl.c, line 4512
- sys/dev/bhnd/bhndb/bhndb_pci.c, line 933
- sys/dev/bhnd/cores/chipc/chipc_subr.c, line 270
- sys/dev/bhnd/nvram/bhnd_nvram_subr.c, 2 times
- sys/dev/bhnd/nvram/bhnd_nvram_value.c, 9 times
- sys/dev/bhnd/nvram/bhnd_nvram_value_fmts.c, line 531
- sys/dev/bhnd/siba/siba_subr.c, 2 times
- sys/dev/cxgbe/common/t4_hw.c, 3 times
- sys/dev/cxgbe/t4_sched.c, 6 times
- sys/dev/drm2/drm_crtc.c, 5 times
- sys/dev/drm2/drm_edid.c, line 1605
- sys/dev/extres/clk/clk.c, line 380
- sys/dev/extres/clk/clk_div.c, 2 times
- sys/dev/extres/clk/clk_fixed.c, line 108
- sys/dev/extres/hwreset/hwreset.c, line 106
- sys/dev/extres/phy/phy.c, 2 times
- sys/dev/extres/regulator/regulator.c, 9 times
- sys/dev/fdt/fdt_common.c, 13 times
- sys/dev/ice/ice_strings.c, line 407
- sys/dev/ice/if_ice_iflib.c, line 1382
- sys/dev/ioat/ioat.c, line 1051
- sys/dev/ixl/i40e_adminq.h, 2 times
- sys/dev/ixl/ixl_pf_iov.c, line 1605
- sys/dev/mlx/mlx.c, 2 times
- sys/dev/mlx5/mlx5_core/mlx5_rl.c, line 93
- sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c, 10 times
- sys/dev/mlx5/mlx5_en/mlx5_en_main.c, 2 times
- sys/dev/ntb/ntb_hw/ntb_hw_intel.c, 2 times
- sys/dev/ntb/ntb_hw/ntb_hw_plx.c, line 813
- sys/dev/ofw/ofw_bus_subr.c, 3 times
- sys/dev/pci/pci_subr.c, line 286
- sys/dev/ppbus/pcfclock.c, line 305
- sys/dev/pwm/pwm_backlight.c, 2 times
- sys/dev/sdhci/sdhci_fdt.c, line 161
- sys/dev/sfxge/common/efx_mcdi.c, line 672
- sys/dev/usb/controller/usb_nop_xceiv.c, line 89
- sys/dev/usb/serial/uftdi.c, 3 times
- sys/dev/xdma/xdma.c, 2 times
- sys/dev/xen/xenstore/xenstore.c, line 1507
- sys/fs/devfs/devfs_rule.c, line 382
- sys/fs/fuse/fuse_vnops.c, line 2339
- sys/geom/part/g_part_vtoc8.c, line 335
- sys/kern/kern_cpuset.c, 4 times
- sys/kern/kern_ktr.c, line 223
- sys/kern/kern_loginclass.c, line 193
- sys/kern/kern_prot.c, line 2292
- sys/kern/kern_rctl.c, 5 times
- sys/kern/kern_time.c, 2 times
- sys/kern/subr_unit.c, line 1030
- sys/kern/sysv_sem.c, 5 times
- sys/kern/vfs_mountroot.c, line 624
- sys/mips/broadcom/bcm_machdep.c, line 212
- sys/mips/ingenic/jz4780_clk_gen.c, line 197
- sys/mips/ingenic/jz4780_clk_pll.c, line 186
- sys/mips/mediatek/mtk_pcie.c, 3 times
- sys/netgraph/ng_ksocket.c, 4 times
- sys/netgraph/ng_parse.c, 14 times
- sys/powerpc/aim/mmu_oea.c, line 2648
- sys/powerpc/booke/pmap.c, line 3001
- sys/powerpc/mpc85xx/lbc.c, 2 times
- sys/security/audit/bsm_errno.c, line 119
- sys/sys/qmath.h, 3 times
- sys/xen/error.h, line 60
- sys/xen/interface/errno.h, line 57
- tests/sys/cddl/zfs/bin/mkfile.c, line 113
- tests/sys/fs/fusefs/xattr.cc, 4 times
- tests/sys/sys/qmath_test.c, 6 times
- tools/build/bootstrap-m4/inittokenizer.c, line 1809
- tools/tools/kttcp/kttcp.c, line 83
- usr.bin/at/at.c, line 172
- usr.bin/brandelf/brandelf.c, line 92
- usr.bin/chpass/field.c, 2 times
- usr.bin/du/du.c, 2 times
- usr.bin/getaddrinfo/getaddrinfo.c, 2 times
- usr.bin/getent/getent.c, line 150
- usr.bin/grep/grep.c, 3 times
- usr.bin/ktrace/ktrace.c, line 212
- usr.bin/netstat/main.c, line 296
- usr.bin/printf/printf.c, 5 times
- usr.bin/random/random.c, line 129
- usr.bin/rctl/rctl.c, 3 times
- usr.bin/renice/renice.c, line 164
- usr.bin/sed/compile.c, 2 times
- usr.bin/seq/seq.c, line 419
- usr.bin/sort/coll.c, 4 times
- usr.sbin/bhyve/net_utils.c, line 84
- usr.sbin/bhyveload/bhyveload.c, line 691
- usr.sbin/gssd/gssd.c, line 699
- usr.sbin/gstat/gstat.c, line 153
- usr.sbin/makefs/cd9660/cd9660_eltorito.c, line 217
- usr.sbin/pw/strtounum.c, 3 times
- usr.sbin/services_mkdb/services_mkdb.c, line 300
- usr.sbin/ypldap/ber.c, 3 times