Defined in 4 files as a macro:
Defined in 1 files as a function:
Referenced in 303 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 83
- bin/sh/arith_yylex.c, 2 times
- bin/sh/cd.c, line 401
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_pid.c, line 929
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c, 2 times
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c, line 1197
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, 4 times
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c, line 1171
- contrib/apr-util/crypto/crypt_blowfish.c, 2 times
- contrib/apr/file_io/unix/filepath.c, line 43
- 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 500
- 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/gcclibs/libiberty/getcwd.c, line 49
- contrib/gcclibs/libiberty/getpwd.c, 2 times
- contrib/gcclibs/libiberty/strerror.c, 2 times
- contrib/gcclibs/libiberty/strtol.c, line 157
- contrib/gcclibs/libiberty/strtoul.c, line 109
- 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/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/libc++/include/errno.h, line 280
- contrib/libc++/src/string.cpp, 2 times
- contrib/libc++/src/system_error.cpp, line 104
- contrib/libpcap/fmtutils.c, line 116
- contrib/libpcap/pcap-dlpi.c, line 898
- contrib/libpcap/pcap-linux.c, line 4517
- contrib/libstdc++/config/locale/generic/c_locale.cc, 8 times
- contrib/libstdc++/config/locale/gnu/c_locale.cc, 3 times
- contrib/libucl/src/ucl_parser.c, 3 times
- contrib/libxo/libxo/libxo.c, line 3782
- contrib/llvm/lib/Analysis/ConstantFolding.cpp, line 1545
- contrib/llvm/lib/TableGen/TGLexer.cpp, 2 times
- contrib/llvm/tools/lldb/tools/lldb-mi/MIUtilString.cpp, line 442
- 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/openmp/runtime/src/kmp_i18n.cpp, line 735
- 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 4156
- contrib/sendmail/src/srvrsmtp.c, line 4583
- 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 73
- contrib/tnftp/src/fetch.c, 2 times
- contrib/unbound/sldns/str2wire.c, line 1047
- 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 420
- 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 1456
- 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, 14 times
- lib/libc/gen/getlogin.c, 2 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/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/libedit/eln.c, line 54
- 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
- release/picobsd/tinyware/passwd/pw_copy.c, 2 times
- sbin/camcontrol/modeedit.c, line 748
- sbin/ccdconfig/ccdconfig.c, 2 times
- sbin/ffsinfo/ffsinfo.c, 3 times
- sbin/geom/misc/subr.c, line 183
- sbin/ifconfig/ifbridge.c, line 105
- 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 249
- sbin/sysctl/sysctl.c, line 858
- sys/amd64/vmm/vmm_dev.c, line 716
- sys/arm/allwinner/aw_usbphy.c, line 325
- sys/arm/allwinner/axp209.c, line 724
- sys/arm/allwinner/axp81x.c, line 844
- sys/arm/allwinner/clkng/aw_clk_frac.c, 2 times
- sys/arm/allwinner/clkng/aw_clk_nkmp.c, 2 times
- sys/arm/allwinner/clkng/aw_clk_nm.c, 2 times
- sys/arm/allwinner/if_awg.c, 2 times
- sys/arm/freescale/imx/imx6_anatop.c, 3 times
- sys/arm/mv/armv5_machdep.c, 5 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/nvidia/as3722_gpio.c, line 539
- sys/arm/nvidia/drm2/tegra_hdmi.c, line 444
- sys/arm/nvidia/tegra124/tegra124_clk_per.c, line 664
- sys/arm/nvidia/tegra124/tegra124_clk_pll.c, 10 times
- sys/arm/nvidia/tegra_gpio.c, line 840
- sys/arm/nvidia/tegra_soctherm.c, 3 times
- sys/arm64/rockchip/clk/rk_clk_composite.c, 2 times
- sys/arm64/rockchip/rk805.c, 2 times
- sys/cddl/contrib/opensolaris/common/unicode/u8_textprep.c, 3 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_global.c, line 64
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c, 3 times
- sys/compat/cloudabi/cloudabi_errno.c, line 108
- sys/compat/linux/linux_getcwd.c, line 72
- sys/compat/linuxkpi/common/include/linux/kernel.h, 3 times
- sys/compat/linuxkpi/common/include/linux/pci.h, line 599
- sys/contrib/libsodium/src/libsodium/sodium/codecs.c, 3 times
- sys/contrib/ncsw/inc/error_ext.h, line 128
- sys/dev/bhnd/bhndb/bhndb_pci.c, line 934
- sys/dev/bhnd/cores/chipc/chipc_subr.c, line 271
- 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 534
- 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 376
- 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, 7 times
- sys/dev/fdt/fdt_common.c, 13 times
- sys/dev/ioat/ioat.c, line 1050
- sys/dev/ixl/i40e_adminq.h, 2 times
- sys/dev/ixl/ixl_pf_iov.c, line 1735
- sys/dev/mlx/mlx.c, 2 times
- sys/dev/mlx5/mlx5_core/mlx5_rl.c, line 95
- sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c, 6 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, 2 times
- 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/sfxge/common/efx_mcdi.c, line 678
- sys/dev/ubsec/ubsec.c, 2 times
- 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 1508
- sys/fs/devfs/devfs_rule.c, line 382
- sys/geom/part/g_part_vtoc8.c, line 334
- sys/kern/kern_cpuset.c, 4 times
- sys/kern/kern_ktr.c, line 219
- sys/kern/kern_loginclass.c, line 194
- sys/kern/kern_prot.c, line 2134
- sys/kern/kern_rctl.c, 5 times
- sys/kern/kern_time.c, 2 times
- sys/kern/subr_unit.c, line 1033
- sys/kern/sysv_sem.c, 5 times
- sys/kern/vfs_mountroot.c, line 604
- sys/mips/broadcom/bcm_machdep.c, line 210
- 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 2599
- sys/powerpc/booke/pmap.c, line 4356
- sys/powerpc/mpc85xx/lbc.c, 2 times
- sys/security/audit/bsm_errno.c, line 119
- sys/xen/error.h, line 60
- sys/xen/interface/errno.h, line 58
- tests/sys/cddl/zfs/bin/mkfile.c, line 113
- 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 286
- usr.bin/printf/printf.c, 5 times
- usr.bin/random/random.c, line 126
- usr.bin/rctl/rctl.c, 3 times
- usr.bin/renice/renice.c, line 164
- usr.bin/sed/compile.c, line 600
- usr.bin/seq/seq.c, line 419
- usr.bin/sort/coll.c, 4 times
- usr.sbin/bhyveload/bhyveload.c, line 670
- usr.sbin/gssd/gssd.c, line 749
- usr.sbin/gstat/gstat.c, line 153
- usr.sbin/makefs/cd9660/cd9660_eltorito.c, line 215
- usr.sbin/pw/strtounum.c, 3 times
- usr.sbin/services_mkdb/services_mkdb.c, line 300
- usr.sbin/ypldap/ber.c, 3 times