Defined in 3 files as a macro:
Referenced in 205 files:
- bin/sh/redir.c, line 146
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c, line 499
- contrib/apr/include/apr_errno.h, 2 times
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/gcclibs/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/charset.c, line 438
- contrib/gdb/gdb/remote-fileio.c, 2 times
- contrib/gdb/gdb/standalone.c, 5 times
- contrib/gdb/gdb/ui-file.c, line 136
- contrib/libc++/include/errno.h, line 272
- contrib/llvm/tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, 3 times
- contrib/netbsd-tests/include/sys/t_socket.c, line 67
- contrib/netbsd-tests/include/t_errno.c, line 111
- contrib/netbsd-tests/kernel/kqueue/write/t_pipe.c, line 69
- contrib/netbsd-tests/lib/libc/gen/posix_spawn/h_fileactions.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_closefrom.c, line 129
- contrib/netbsd-tests/lib/libc/gen/t_ttyname.c, 3 times
- contrib/netbsd-tests/lib/libc/stdio/t_fflush.c, 3 times
- contrib/netbsd-tests/lib/libc/stdio/t_fopen.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_chroot.c, line 249
- contrib/netbsd-tests/lib/libc/sys/t_dup.c, 10 times
- contrib/netbsd-tests/lib/libc/sys/t_fsync.c, line 63
- contrib/netbsd-tests/lib/libc/sys/t_kevent.c, line 144
- contrib/netbsd-tests/lib/libc/sys/t_listen.c, line 89
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, line 224
- contrib/netbsd-tests/lib/libc/sys/t_posix_fadvise.c, line 119
- contrib/netbsd-tests/lib/libc/sys/t_posix_fallocate.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 169
- contrib/netbsd-tests/lib/libc/sys/t_truncate.c, line 99
- contrib/netbsd-tests/lib/libc/sys/t_write.c, line 70
- contrib/netbsd-tests/lib/librumpclient/h_execthr.c, line 139
- contrib/netbsd-tests/lib/librumpclient/t_fd.c, 3 times
- contrib/netbsd-tests/rump/rumpkern/t_lwproc.c, 2 times
- contrib/netbsd-tests/rump/rumpvfs/t_basic.c, line 66
- contrib/ntp/include/timepps-SCO.h, 7 times
- contrib/ntp/include/timepps-Solaris.h, 6 times
- contrib/ntp/include/timepps-SunOS.h, 7 times
- contrib/ntp/lib/isc/unix/errno2result.c, line 45
- contrib/ntp/lib/isc/win32/errno2result.c, line 45
- contrib/ntp/ntpd/ntp_io.c, line 3693
- contrib/ntp/sntp/libevent/epoll.c, line 326
- contrib/ntp/sntp/libevent/kqueue.c, line 354
- contrib/ntp/sntp/libevent/test/regress.c, line 1060
- contrib/ofed/librdmacm/rsocket.c, 13 times
- contrib/openbsm/libbsm/bsm_errno.c, line 90
- contrib/openbsm/libbsm/bsm_wrappers.c, line 220
- contrib/openbsm/test/bsm/generate.c, line 1006
- contrib/pf/libevent/kqueue.c, line 250
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libsm/fclose.c, 2 times
- contrib/sendmail/libsm/fflush.c, line 61
- contrib/sendmail/libsm/fopen.c, line 190
- contrib/sendmail/libsm/fpurge.c, line 41
- contrib/sendmail/libsm/fvwrite.c, line 76
- contrib/sendmail/libsm/put.c, line 53
- contrib/sendmail/libsm/refill.c, line 180
- contrib/sendmail/libsm/strio.c, 2 times
- contrib/sendmail/libsm/vfprintf.c, line 315
- contrib/sendmail/libsm/wbuf.c, line 59
- contrib/sendmail/libsm/wsetup.c, line 50
- contrib/sendmail/src/conf.c, 2 times
- contrib/sendmail/src/err.c, line 221
- contrib/sendmail/src/main.c, line 3957
- contrib/sendmail/src/map.c, line 3000
- contrib/sendmail/src/usersmtp.c, line 3108
- contrib/sendmail/src/util.c, 4 times
- contrib/tcsh/sh.print.c, 2 times
- contrib/tnftp/src/util.c, line 1434
- contrib/wpa/src/radius/radius_client.c, line 311
- contrib/xz/src/common/tuklib_open_stdxxx.c, line 33
- crypto/heimdal/lib/roken/flock.c, line 94
- crypto/heimdal/lib/sqlite/sqlite3.c, line 25268
- crypto/openssh/misc.c, line 801
- crypto/openssh/sftp-server.c, line 193
- crypto/openssl/crypto/bio/bss_file.c, line 152
- gnu/usr.bin/rcs/lib/rcsutil.c, 2 times
- lib/libc/gen/posix_spawn.c, 5 times
- lib/libc/gen/recvmmsg.c, line 59
- lib/libc/iconv/bsd_iconv.c, 4 times
- lib/libc/nls/msgcat.c, 2 times
- lib/libc/rpc/getnetconfig.c, line 70
- lib/libc/stdio/fclose.c, 3 times
- lib/libc/stdio/fpurge.c, line 57
- lib/libc/stdio/freopen.c, line 99
- lib/libc/stdio/refill.c, line 86
- lib/libc/stdio/vfprintf.c, line 460
- lib/libc/stdio/vfwprintf.c, line 536
- lib/libc/stdio/wbuf.c, line 64
- lib/libc/stdio/wsetup.c, line 61
- lib/libc/stdlib/ptsname.c, line 55
- lib/libc/tests/stdio/getdelim_test.c, 2 times
- lib/libcapsicum/capsicum_helpers.h, line 64
- lib/libcasper/libcasper/libcasper_impl.c, line 43
- lib/libfetch/ftp.c, 7 times
- lib/libnv/common_impl.h, line 35
- lib/libnv/msgio.c, line 68
- lib/libnv/tests/nv_array_tests.cc, line 45
- lib/libnv/tests/nv_tests.cc, 4 times
- lib/libnv/tests/nvlist_get_test.c, line 49
- lib/libnv/tests/nvlist_send_recv_test.c, line 54
- lib/libsysdecode/errno.c, line 72
- lib/libutil/quotafile.c, 3 times
- sbin/hastd/hastd.c, line 197
- sbin/quotacheck/quotacheck.c, 2 times
- stand/libsa/close.c, line 75
- stand/libsa/fstat.c, line 47
- stand/libsa/ioctl.c, line 77
- stand/libsa/lseek.c, line 75
- stand/libsa/netif.c, 2 times
- stand/libsa/pkgfs.c, 4 times
- stand/libsa/read.c, line 76
- stand/libsa/readdir.c, line 40
- stand/libsa/strerror.c, line 49
- stand/libsa/write.c, line 79
- stand/userboot/test/test.c, line 263
- sys/cam/scsi/scsi_ch.c, line 789
- sys/cam/scsi/scsi_enc.c, line 414
- sys/cam/scsi/scsi_sa.c, 3 times
- sys/cddl/contrib/opensolaris/common/unicode/u8_textprep.c, 5 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_object.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c, line 2977
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c, 3 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_global.c, line 39
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c, 4 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_onexit.c, 3 times
- sys/compat/cloudabi/cloudabi_errno.c, line 47
- sys/compat/cloudabi/cloudabi_fd.c, line 402
- sys/compat/cloudabi/cloudabi_file.c, line 406
- sys/compat/freebsd32/freebsd32_capability.c, line 106
- sys/compat/freebsd32/freebsd32_ioctl.c, line 429
- sys/compat/linux/linux_ioctl.c, line 3713
- sys/compat/svr4/svr4_fcntl.c, line 420
- sys/compat/svr4/svr4_filio.c, line 121
- sys/compat/svr4/svr4_ioctl.c, line 113
- sys/compat/svr4/svr4_misc.c, 2 times
- sys/compat/svr4/svr4_stream.c, 2 times
- sys/contrib/libnv/nvpair.c, 4 times
- sys/dev/acpi_support/acpi_hp.c, 5 times
- sys/dev/acpi_support/acpi_wmi.c, 5 times
- sys/dev/md/md.c, line 1394
- sys/dev/mlx4/mlx4_core/mlx4_cmd.c, 3 times
- sys/dev/mlx5/mlx5_core/mlx5_fwdump.c, 3 times
- sys/dev/mmc/mmcsd.c, 2 times
- sys/dev/mthca/mthca_cmd.c, 3 times
- sys/dev/ofw/openfirmio.c, 2 times
- sys/dev/sound/clone.c, line 519
- sys/dev/sound/midi/midi.c, 2 times
- sys/dev/sound/pci/emu10kx.c, 2 times
- sys/dev/sound/pcm/dsp.c, 7 times
- sys/dev/sound/pcm/mixer.c, 10 times
- sys/dev/tdfx/tdfx_pci.c, line 407
- sys/dev/xen/blkback/blkback.c, line 2629
- sys/fs/cd9660/cd9660_vnops.c, line 263
- sys/fs/devfs/devfs_vnops.c, 2 times
- sys/fs/fuse/fuse_file.c, line 250
- sys/fs/fuse/fuse_node.c, line 320
- sys/fs/fuse/fuse_vnops.c, line 247
- sys/fs/nfsclient/nfs_clstate.c, 3 times
- sys/fs/nfsclient/nfs_clvfsops.c, line 1798
- sys/fs/nfsclient/nfs_clvnops.c, 3 times
- sys/fs/nfsserver/nfs_nfsdport.c, 2 times
- sys/fs/pseudofs/pseudofs_vnops.c, 3 times
- sys/fs/unionfs/union_vnops.c, 6 times
- sys/i386/ibcs2/ibcs2_fcntl.c, line 212
- sys/i386/ibcs2/ibcs2_ioctl.c, 2 times
- sys/i386/ibcs2/ibcs2_misc.c, 2 times
- sys/kern/kern_descrip.c, 30 times
- sys/kern/kern_event.c, 3 times
- sys/kern/kern_sendfile.c, line 470
- sys/kern/sys_capability.c, 6 times
- sys/kern/sys_generic.c, 3 times
- sys/kern/sys_procdesc.c, 2 times
- sys/kern/tty.c, line 1987
- sys/kern/uipc_mqueue.c, 3 times
- sys/kern/uipc_usrreq.c, line 1968
- sys/kern/vfs_default.c, line 165
- sys/kern/vfs_syscalls.c, 4 times
- sys/kern/vfs_vnops.c, 2 times
- sys/net/altq/altq_cbq.c, 10 times
- sys/net/altq/altq_cdnr.c, 11 times
- sys/net/altq/altq_codel.c, line 166
- sys/net/altq/altq_fairq.c, line 240
- sys/net/altq/altq_hfsc.c, 9 times
- sys/net/altq/altq_priq.c, 9 times
- sys/net/altq/altq_red.c, 5 times
- sys/net/altq/altq_rio.c, 5 times
- sys/netinet/sctp_peeloff.c, 2 times
- sys/netsmb/smb_subr.c, line 232
- sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c, line 781
- sys/security/audit/bsm_errno.c, line 92
- sys/security/mac/mac_vfs.c, line 1036
- sys/xen/error.h, line 44
- sys/xen/interface/errno.h, line 42
- tests/sys/file/closefrom_test.c, 2 times
- tests/sys/file/newfileops_on_fork_test.c, line 89
- tests/sys/kern/kern_descrip_test.c, line 79
- tools/regression/doat/doat.c, 18 times
- tools/regression/security/cap_test/cap_test_pdfork.c, line 82
- tools/regression/sockets/shutdown/shutdown.c, line 51
- tools/test/iconv/posix/posix.c, 2 times
- tools/tools/kttcp/sys/kttcp.c, 2 times
- usr.sbin/bhyveload/bhyveload.c, line 309
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c, line 455