Defined in 6 files as a macro:
Referenced in 220 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 206
- common/lib/libprop/prop_object.c, line 863
- crypto/external/bsd/openssh/dist/channels.c, line 4484
- crypto/external/bsd/openssh/dist/misc.c, line 1834
- crypto/external/bsd/openssh/dist/sftp-realpath.c, 6 times
- crypto/external/bsd/openssh/dist/sftp-server.c, line 236
- crypto/external/bsd/openssl.old/dist/crypto/LPdir_vms.c, line 115
- crypto/external/bsd/openssl/dist/crypto/LPdir_vms.c, line 115
- external/apache2/llvm/dist/libcxx/include/errno.h, line 303
- 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/mdocml/dist/compat_fts.c, 2 times
- external/bsd/nsd/dist/nsd.c, line 236
- 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 328
- 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/tmux/dist/client.c, line 116
- external/bsd/tmux/dist/server.c, line 115
- external/bsd/unbound/dist/ipset/ipset.c, line 68
- external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c, line 155
- 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 4567
- external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c, line 3170
- 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.old/dist/libiberty/strerror.c, 2 times
- external/gpl3/binutils/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc.old/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/config/os/djgpp/error_constants.h, line 67
- external/gpl3/gcc.old/dist/libstdc++-v3/config/os/generic/error_constants.h, line 67
- external/gpl3/gcc.old/dist/libstdc++-v3/config/os/mingw32-w64/error_constants.h, line 67
- external/gpl3/gcc.old/dist/libstdc++-v3/config/os/mingw32/error_constants.h, line 65
- external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/system_error.cc, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/fs_ops.cc, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/ops.cc, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/std-ops.cc, 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/c++17/fs_ops.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ops.cc, 2 times
- external/gpl3/gdb.old/dist/gdb/gdb_bfd.c, line 259
- external/gpl3/gdb.old/dist/gdb/remote.c, line 12439
- external/gpl3/gdb.old/dist/gdb/windows-nat.c, line 2620
- external/gpl3/gdb.old/dist/gdbsupport/fileio.cc, line 72
- external/gpl3/gdb.old/dist/gnulib/import/canonicalize-lgpl.c, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/chdir-long.c, 3 times
- external/gpl3/gdb.old/dist/gnulib/import/getcwd.c, line 209
- external/gpl3/gdb.old/dist/gnulib/import/rename.c, line 245
- external/gpl3/gdb.old/dist/gnulib/import/stat.c, line 405
- external/gpl3/gdb.old/dist/libiberty/strerror.c, 2 times
- external/gpl3/gdb.old/dist/readline/readline/examples/rlfe/os.h, 2 times
- external/gpl3/gdb.old/dist/sim/arm/armos.c, line 248
- external/gpl3/gdb.old/dist/sim/bfin/linux-targ-map.h, 2 times
- external/gpl3/gdb.old/dist/sim/common/syscall.c, 2 times
- external/gpl3/gdb.old/dist/sim/cris/traps.c, 4 times
- external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/readlink4.c, line 54
- external/gpl3/gdb/dist/gdb/gdb_bfd.c, line 259
- external/gpl3/gdb/dist/gdb/remote.c, line 12439
- external/gpl3/gdb/dist/gdb/windows-nat.c, line 2620
- external/gpl3/gdb/dist/gdbsupport/fileio.cc, line 72
- external/gpl3/gdb/dist/gnulib/import/canonicalize-lgpl.c, 2 times
- external/gpl3/gdb/dist/gnulib/import/chdir-long.c, 3 times
- external/gpl3/gdb/dist/gnulib/import/getcwd.c, line 209
- external/gpl3/gdb/dist/gnulib/import/rename.c, line 245
- external/gpl3/gdb/dist/gnulib/import/stat.c, line 405
- external/gpl3/gdb/dist/libiberty/strerror.c, 2 times
- external/gpl3/gdb/dist/readline/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/mit/libuv/dist/include/uv.h, line 114
- external/mit/libuv/dist/include/uv/errno.h, 2 times
- external/mit/libuv/dist/src/unix/os390-syscalls.c, line 501
- external/mit/libuv/dist/src/unix/process.c, line 699
- external/mpl/bind/dist/contrib/dlz/modules/filesystem/dir.c, line 54
- external/mpl/bind/dist/lib/isc/tests/errno_test.c, line 49
- external/mpl/bind/dist/lib/isc/unix/errno2result.c, line 42
- external/mpl/bind/dist/lib/isc/win32/errno2result.c, line 40
- 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 489
- lib/libc/time/private.h, line 216
- lib/libc/time/zic.c, line 3950
- 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 83
- libexec/httpd/bozohttpd.c, line 1843
- sbin/ifconfig/env.c, 2 times
- sbin/mount_portal/pt_filter.c, 2 times
- sbin/newfs_udf/udf_core.c, 2 times
- sys/arch/aarch64/aarch64/copyinout.S, 2 times
- sys/arch/alpha/alpha/locore.s, 2 times
- sys/arch/amd64/amd64/copy.S, 2 times
- sys/arch/arm/arm/copystr.S, 4 times
- sys/arch/hppa/hppa/copy.S, line 177
- sys/arch/i386/i386/copy.S, 2 times
- sys/arch/i386/stand/libsa/nfs.c, line 266
- sys/arch/ia64/ia64/support.S, line 407
- sys/arch/m68k/m68k/copy.s, 2 times
- sys/arch/mips/mips/copy.S, 4 times
- sys/arch/powerpc/booke/copyin.c, line 353
- sys/arch/powerpc/booke/copyout.c, line 437
- sys/arch/powerpc/ibm4xx/copyinstr.c, line 110
- sys/arch/powerpc/ibm4xx/copyoutstr.c, line 111
- sys/arch/powerpc/powerpc/trap.c, 2 times
- sys/arch/prep/pnpbus/nvram_pnpbus.c, line 357
- sys/arch/riscv/riscv/trap.c, 2 times
- sys/arch/sh3/sh3/locore_subr.S, 2 times
- sys/arch/sparc/sparc/locore.s, 4 times
- sys/arch/sparc/sparc/openprom.c, line 120
- sys/arch/sparc64/sparc64/copy.S, 6 times
- sys/arch/vax/vax/subr.S, line 528
- sys/arch/xen/xen/privcmd.c, line 206
- sys/arch/xen/xenbus/xenbus_xs.c, line 386
- sys/coda/coda_vnops.c, 3 times
- sys/compat/common/uipc_syscalls_40.c, line 77
- sys/compat/linux/common/linux_socket.c, line 1201
- 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/udf/udf_vnops.c, 2 times
- sys/fs/union/union_subr.c, line 818
- sys/fs/v7fs/v7fs_file_util.c, line 96
- sys/fs/v7fs/v7fs_vnops.c, line 1291
- sys/kern/kern_core.c, line 325
- sys/kern/kern_exec.c, 2 times
- sys/kern/kern_prot.c, line 625
- sys/kern/kern_sysctl.c, 4 times
- sys/kern/subr_msan.c, line 884
- sys/kern/sys_lwp.c, line 675
- sys/kern/tty_conf.c, line 306
- sys/kern/uipc_sem.c, line 459
- sys/kern/vfs_lookup.c, 3 times
- sys/lib/libkern/copystr.c, line 53
- sys/lib/libsa/dosfs.c, line 495
- 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 1261
- sys/net/if_spppsubr.c, 6 times
- sys/net/npf/npf_tableset.c, line 485
- sys/nfs/nfs_clntsocket.c, line 863
- sys/nfs/nfs_serv.c, line 2309
- sys/nfs/nfs_srvsubs.c, line 133
- sys/nfs/nfs_vnops.c, line 1099
- sys/nfs/nfsm_subs.h, line 422
- sys/rump/include/rump/rumperrno2host.h, 2 times
- sys/rump/librump/rumpkern/rumpcopy.c, 2 times
- tests/fs/vfs/t_vnops.c, 3 times
- tests/include/t_errno.c, line 354
- 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 367
- 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