Defined in 5 files as a macro:
Referenced in 191 files:
- bin/ln/ln.c, line 264
- bin/pax/ftree.c, line 440
- bin/rm/rm.c, line 81
- bin/sh/error.c, 2 times
- bin/sh/exec.c, line 162
- common/lib/libprop/prop_object.c, line 864
- crypto/external/bsd/openssh/dist/channels.c, line 4259
- crypto/external/bsd/openssh/dist/misc.c, line 1541
- crypto/external/bsd/openssh/dist/sftp-server.c, line 201
- crypto/external/bsd/openssl/dist/crypto/LPdir_vms.c, line 115
- external/bsd/am-utils/dist/amd/amfs_generic.c, line 380
- external/bsd/am-utils/dist/conf/nfs_prot/nfs_prot_nextstep.h, line 303
- external/bsd/libarchive/dist/libarchive/archive_write_set_format_ustar.c, 4 times
- external/bsd/libarchive/dist/libarchive/archive_write_set_format_v7tar.c, 2 times
- external/bsd/libbind/dist/irs/dns_ho.c, 2 times
- external/bsd/libbind/dist/nameser/ns_name.c, line 829
- external/bsd/libc++/dist/libcxx/test/diagnostics/errno/cerrno.pass.cpp, 2 times
- external/bsd/libc++/dist/libcxx/test/diagnostics/syserr/errc.pass.cpp, line 39
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/errno/cerrno.pass.cpp, 2 times
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/syserr/errc.pass.cpp, line 39
- external/bsd/mdocml/dist/compat_fts.c, 2 times
- external/bsd/ntp/dist/lib/isc/unix/errno2result.c, line 46
- external/bsd/ntp/dist/lib/isc/win32/errno2result.c, line 45
- external/bsd/openldap/dist/libraries/libldap/os-local.c, line 340
- external/bsd/openldap/dist/libraries/libldap/tls_m.c, line 393
- external/bsd/openldap/dist/libraries/liblutil/utils.c, 2 times
- external/bsd/openpam/dist/lib/libpam/openpam_configure.c, 2 times
- external/bsd/pkg_install/dist/lib/remove.c, line 92
- external/bsd/smbfs/dist/lib/smb/ctx.c, 5 times
- external/bsd/smbfs/dist/lib/smb/nb.c, line 96
- external/bsd/tmux/dist/client.c, line 111
- external/bsd/tmux/dist/server.c, line 111
- external/bsd/unbound/dist/ipset/ipset.c, line 68
- external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c, line 150
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_pool.c, 2 times
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dmu_objset.c, 5 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dsl_bookmark.c, line 41
- external/cddl/osnet/dist/uts/common/fs/zfs/dsl_dataset.c, 3 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dsl_dir.c, 4 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dsl_prop.c, line 830
- external/cddl/osnet/dist/uts/common/fs/zfs/spa.c, line 2017
- external/cddl/osnet/dist/uts/common/fs/zfs/vdev_label.c, line 802
- external/cddl/osnet/dist/uts/common/fs/zfs/zap.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ctldir.c, 8 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c, line 2742
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c, 3 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c, line 4531
- external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c, line 3162
- external/cddl/osnet/lib/libzfs/fsshare.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/canonicalize.c, 3 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/canonicalize.c, 3 times
- external/gpl2/gettext/dist/gnulib-local/lib/canonicalize.c, 3 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-corosync.c, line 155
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-openais.c, line 158
- external/gpl2/lvm2/dist/daemons/dmeventd/plugins/mirror/dmeventd_mirror.c, 2 times
- external/gpl2/xcvs/dist/lib/chdir-long.c, 3 times
- external/gpl2/xcvs/dist/lib/getcwd.c, 2 times
- external/gpl2/xcvs/dist/lib/xgethostname.c, 2 times
- external/gpl3/binutils/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/config/os/djgpp/error_constants.h, line 67
- external/gpl3/gcc/dist/libstdc++-v3/config/os/generic/error_constants.h, line 67
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32-w64/error_constants.h, line 67
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32/error_constants.h, line 65
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/system_error.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ops.cc, 2 times
- external/gpl3/gdb/dist/gdb/common/fileio.c, line 72
- external/gpl3/gdb/dist/gdb/gdb_bfd.c, line 270
- external/gpl3/gdb/dist/gdb/gnulib/import/canonicalize-lgpl.c, 2 times
- external/gpl3/gdb/dist/gdb/gnulib/import/chdir-long.c, 3 times
- external/gpl3/gdb/dist/gdb/gnulib/import/getcwd.c, line 177
- external/gpl3/gdb/dist/gdb/gnulib/import/rename.c, line 241
- external/gpl3/gdb/dist/gdb/gnulib/import/stat.c, line 114
- external/gpl3/gdb/dist/gdb/remote.c, line 12366
- external/gpl3/gdb/dist/gdb/windows-nat.c, line 2464
- external/gpl3/gdb/dist/libiberty/strerror.c, 2 times
- external/gpl3/gdb/dist/readline/examples/rlfe/os.h, 2 times
- external/gpl3/gdb/dist/sim/arm/armos.c, line 248
- external/gpl3/gdb/dist/sim/bfin/linux-targ-map.h, 2 times
- external/gpl3/gdb/dist/sim/common/syscall.c, 2 times
- external/gpl3/gdb/dist/sim/cris/traps.c, 4 times
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink4.c, line 54
- external/mpl/bind/dist/contrib/dlz/modules/filesystem/dir.c, line 59
- external/mpl/bind/dist/lib/isc/tests/errno_test.c, line 51
- external/mpl/bind/dist/lib/isc/unix/errno2result.c, line 45
- external/mpl/bind/dist/lib/isc/win32/errno2result.c, line 43
- lib/libc/db/db/dbfile.c, line 95
- lib/libc/gen/fts.c, 3 times
- lib/libc/gen/getcwd.c, 2 times
- lib/libc/gen/sysctlgetmibinfo.c, 2 times
- lib/libc/nameser/ns_name.c, line 843
- lib/libc/stdio/gettemp.c, line 76
- lib/libc/time/localtime.c, line 470
- lib/libc/time/private.h, line 175
- lib/libcompat/4.3/ruserpass.c, line 112
- lib/librt/shm.c, line 115
- lib/librumpuser/rumpuser_errtrans.c, 2 times
- lib/librumpuser/sp_common.c, 2 times
- lib/libutil/efun.c, 2 times
- lib/libutil/passwd.c, 2 times
- lib/libutil/pidfile.c, line 126
- lib/libutil/pidlock.c, line 77
- libexec/httpd/bozohttpd.c, line 1848
- sbin/ifconfig/env.c, 2 times
- sbin/mount_portal/pt_filter.c, 2 times
- sbin/newfs_udf/udf_create.c, 2 times
- sys/arch/aarch64/aarch64/copyinout.S, 3 times
- sys/arch/alpha/alpha/locore.s, line 782
- sys/arch/amd64/amd64/copy.S, 3 times
- sys/arch/arm/arm/copystr.S, 6 times
- sys/arch/hppa/hppa/copy.S, line 177
- sys/arch/i386/i386/copy.S, 3 times
- sys/arch/i386/stand/libsa/nfs.c, line 266
- sys/arch/ia64/ia64/support.S, line 410
- sys/arch/m68k/m68k/copy.s, 3 times
- sys/arch/mips/mips/copy.S, 6 times
- sys/arch/powerpc/booke/copyin.c, line 353
- sys/arch/powerpc/booke/copyout.c, line 437
- sys/arch/powerpc/ibm4xx/copyinstr.c, line 102
- sys/arch/powerpc/ibm4xx/copyoutstr.c, line 102
- sys/arch/powerpc/powerpc/copystr.c, line 52
- sys/arch/powerpc/powerpc/trap.c, 2 times
- sys/arch/prep/pnpbus/nvram_pnpbus.c, line 357
- sys/arch/sh3/sh3/locore_c.c, line 237
- sys/arch/sh3/sh3/locore_subr.S, 2 times
- sys/arch/sparc/sparc/locore.s, 8 times
- sys/arch/sparc/sparc/openprom.c, line 120
- sys/arch/sparc64/sparc64/copy.S, 9 times
- sys/arch/vax/vax/subr.S, line 502
- sys/arch/xen/xen/privcmd.c, line 197
- sys/coda/coda_vnops.c, 3 times
- sys/compat/common/uipc_syscalls_40.c, line 77
- sys/compat/linux/common/linux_socket.c, line 1166
- sys/compat/linux32/common/linux32_socket.c, line 454
- sys/dev/ofw/openfirmio.c, line 113
- sys/external/bsd/libnv/dist/nvpair.c, line 151
- sys/external/mit/xen-include-public/dist/xen/include/public/errno.h, line 92
- sys/fs/nfs/client/nfs_clrpcops.c, 10 times
- sys/fs/nfs/client/nfs_clvfsops.c, line 1304
- sys/fs/nfs/server/nfs_nfsdport.c, line 491
- sys/fs/smbfs/smbfs_subr.c, line 277
- sys/fs/smbfs/smbfs_vnops.c, line 1145
- sys/fs/udf/udf_vnops.c, 2 times
- sys/fs/union/union_subr.c, line 814
- sys/fs/v7fs/v7fs_file_util.c, line 95
- sys/fs/v7fs/v7fs_vnops.c, line 1274
- sys/kern/kern_core.c, line 307
- sys/kern/kern_exec.c, 2 times
- sys/kern/kern_prot.c, line 625
- sys/kern/kern_sysctl.c, 4 times
- sys/kern/sys_lwp.c, line 805
- sys/kern/tty_conf.c, line 306
- sys/kern/uipc_sem.c, line 460
- sys/kern/vfs_lookup.c, 3 times
- sys/lib/libsa/dosfs.c, line 489
- sys/lib/libsa/nfs.c, line 280
- sys/miscfs/procfs/procfs_linux.c, 2 times
- sys/net/if.c, 3 times
- sys/net/if_ethersubr.c, line 1183
- sys/net/if_spppsubr.c, 6 times
- sys/net/npf/npf_tableset.c, line 481
- sys/nfs/nfs_clntsocket.c, line 863
- sys/nfs/nfs_serv.c, line 2323
- sys/nfs/nfs_srvsubs.c, line 133
- sys/nfs/nfs_vnops.c, line 1143
- sys/nfs/nfsm_subs.h, line 413
- sys/rump/include/rump/rumperrno2host.h, 2 times
- sys/rump/librump/rumpkern/rumpcopy.c, 3 times
- tests/fs/vfs/t_vnops.c, 3 times
- tests/include/t_errno.c, line 355
- tests/lib/libc/net/t_ether_aton.c, line 63
- tests/lib/libc/stdio/t_fopen.c, line 201
- tests/lib/libc/sys/t_access.c, line 195
- tests/lib/libc/sys/t_chroot.c, line 124
- tests/lib/libc/sys/t_link.c, line 127
- tests/lib/libc/sys/t_mkdir.c, line 77
- tests/lib/libc/sys/t_mkfifo.c, line 140
- tests/lib/libc/sys/t_mknod.c, line 65
- tests/lib/libc/sys/t_revoke.c, line 114
- tests/lib/libc/sys/t_stat.c, 2 times
- tests/lib/libc/sys/t_unlink.c, line 91
- tests/modules/t_modctl.c, line 308
- tests/rump/rumpkern/t_copy.c, line 90
- usr.bin/csplit/csplit.c, line 250
- usr.bin/ftp/main.c, 3 times
- usr.bin/nc/netcat.c, 2 times
- usr.sbin/autofs/automountd.c, line 546
- usr.sbin/autofs/autounmountd.c, line 315
- usr.sbin/sysinst/aout2elf.c, 5 times
- usr.sbin/wakeonlan/wakeonlan.c, line 101