Defined in 16 files as a macro:
- external/bsd/file/dist/src/file.h, line 634 (as a macro)
- external/bsd/libarchive/dist/libarchive/archive_windows.h, line 255 (as a macro)
- external/bsd/ntp/dist/lib/isc/win32/unistd.h, line 23 (as a macro)
- external/bsd/ntp/dist/ntpd/refclock_parse.c, line 3030 (as a macro)
- external/bsd/ntp/dist/sntp/libopts/compat/compat.h, line 151 (as a macro)
- external/bsd/ppp/dist/chat/chat.c, line 143 (as a macro)
- external/bsd/ppp/dist/pppd/main.c, line 273 (as a macro)
- external/gpl2/gettext/dist/gettext-tools/src/msgfilter.c, line 567 (as a macro)
- external/gpl2/xcvs/dist/src/server.c, line 86 (as a macro)
- external/gpl3/gdb/dist/readline/examples/rlfe/os.h, line 376 (as a macro)
- external/gpl3/gdb/dist/sim/common/dv-sockser.c, line 75 (as a macro)
- external/gpl3/gdb/dist/sim/common/dv-sockser.c, line 77 (as a macro)
- external/ibm-public/postfix/dist/src/util/sys_defs.h, line 1114 (as a macro)
- external/ibm-public/postfix/dist/src/util/sys_defs.h, line 1169 (as a macro)
- external/mpl/bind/dist/lib/isc/win32/unistd.h, line 16 (as a macro)
- sys/sys/fcntl.h, line 81 (as a macro)
Referenced in 250 files:
- bin/cat/cat.c, line 251
- bin/dd/args.c, line 454
- bin/ksh/misc.c, 3 times
- bin/sh/input.c, 2 times
- bin/sh/redir.c, 5 times
- bin/stty/stty.c, line 86
- crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c, 2 times
- crypto/dist/ipsec-tools/src/racoon/isakmp.c, line 1628
- crypto/dist/ipsec-tools/src/racoon/pfkey.c, line 447
- crypto/external/bsd/heimdal/dist/lib/ipc/server.c, line 646
- crypto/external/bsd/heimdal/dist/lib/roken/socket.c, 3 times
- crypto/external/bsd/openssh/dist/auth-rhosts.c, line 67
- crypto/external/bsd/openssh/dist/auth.c, line 553
- crypto/external/bsd/openssh/dist/misc.c, 4 times
- crypto/external/bsd/openssh/dist/scp.c, line 1069
- crypto/external/bsd/openssl/dist/crypto/bio/b_sock.c, 5 times
- crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c, 2 times
- crypto/external/bsd/openssl/dist/engines/e_afalg.c, line 176
- dist/pf/sbin/pflogd/privsep.c, line 164
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, line 479
- distrib/utils/libhack/opendir.c, line 64
- external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c, 3 times
- external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c, 3 times
- external/bsd/am-utils/dist/amd/info_exec.c, line 247
- external/bsd/am-utils/dist/amd/rpc_fwd.c, line 164
- external/bsd/blacklist/bin/state.c, line 80
- external/bsd/blacklist/lib/bl.c, line 164
- external/bsd/cron/dist/database.c, line 272
- external/bsd/dhcpcd/dist/src/bpf.c, 2 times
- external/bsd/dhcpcd/dist/src/control.c, line 154
- external/bsd/dhcpcd/dist/src/if.c, line 867
- external/bsd/file/dist/src/file.h, line 633
- external/bsd/file/dist/src/magic.c, line 445
- external/bsd/ipf/dist/l4check/l4check.c, 2 times
- external/bsd/ipf/dist/samples/relay.c, 3 times
- external/bsd/iscsi/dist/src/lib/util.c, line 846
- external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c, 6 times
- external/bsd/libarchive/dist/libarchive/archive_read_disk_posix.c, line 1010
- external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c, line 3962
- external/bsd/libarchive/dist/libarchive/filter_fork_posix.c, 2 times
- external/bsd/libarchive/dist/tar/test/test_option_fflags.c, line 41
- external/bsd/libarchive/dist/test_utils/test_main.c, 5 times
- external/bsd/libbind/dist/irs/irp.c, line 229
- external/bsd/libevent/dist/evutil.c, 4 times
- external/bsd/libevent/dist/sample/event-read-fifo.c, line 124
- external/bsd/libpcap/dist/pcap-linux.c, line 7073
- external/bsd/libpcap/dist/pcap.c, 3 times
- external/bsd/nsd/dist/dnstap/dnstap_collector.c, 4 times
- external/bsd/nsd/dist/remote.c, 3 times
- external/bsd/nsd/dist/server.c, 7 times
- external/bsd/nsd/dist/xfrd-tcp.c, line 534
- external/bsd/ntp/dist/include/ntp_io.h, 2 times
- external/bsd/ntp/dist/lib/isc/win32/unistd.h, line 24
- external/bsd/ntp/dist/libntp/audio.c, line 268
- external/bsd/ntp/dist/libntp/socket.c, 3 times
- external/bsd/ntp/dist/libntp/work_thread.c, line 582
- external/bsd/ntp/dist/ntpd/ntp_refclock.c, 4 times
- external/bsd/ntp/dist/ntpd/refclock_gpsdjson.c, line 1880
- external/bsd/ntp/dist/ntpd/refclock_nmea.c, 2 times
- external/bsd/ntp/dist/ntpd/refclock_parse.c, 3 times
- external/bsd/ntp/dist/ntpdate/ntpdate.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/evutil.c, 4 times
- external/bsd/ntp/dist/sntp/libopts/compat/compat.h, line 150
- external/bsd/ntp/dist/util/audio-pcm.c, line 105
- external/bsd/nvi/dist/common/log1.c, line 117
- external/bsd/nvi/dist/common/recover.c, line 126
- external/bsd/nvi/dist/common/vi_db1.c, 2 times
- external/bsd/openldap/dist/contrib/slapd-modules/nssov/nssov.c, 2 times
- external/bsd/openldap/dist/libraries/liblber/sockbuf.c, 2 times
- external/bsd/openldap/dist/libraries/libldap/tls_m.c, line 3032
- external/bsd/ppp/dist/chat/chat.c, 5 times
- external/bsd/ppp/dist/pppd/main.c, line 272
- external/bsd/ppp/dist/pppd/tty.c, 5 times
- external/bsd/ppp/usr.sbin/pppd/sys-bsd.c, 3 times
- external/bsd/tmux/dist/client.c, 2 times
- external/bsd/tmux/dist/tmux.c, 2 times
- external/bsd/unbound/dist/util/net_help.c, 2 times
- external/bsd/wpa/dist/src/common/wpa_ctrl.c, line 222
- external/bsd/wpa/dist/src/crypto/random.c, 2 times
- external/bsd/wpa/dist/src/drivers/driver_nl80211_android.c, line 187
- external/bsd/wpa/dist/src/drivers/rfkill.c, line 133
- external/bsd/wpa/dist/src/wps/http_client.c, line 152
- external/bsd/wpa/dist/src/wps/http_server.c, 2 times
- external/bsd/wpa/dist/src/wps/wps_upnp_ssdp.c, 2 times
- external/bsd/wpa/dist/wpa_supplicant/ctrl_iface_unix.c, 2 times
- external/cddl/osnet/dist/cmd/zpool/zpool_vdev.c, line 416
- external/gpl2/gettext/dist/gettext-tools/src/msgfilter.c, 3 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.c, line 1943
- external/gpl2/lvm2/dist/daemons/dmeventd/libdevmapper-event.c, 2 times
- external/gpl2/lvm2/dist/test/harness.c, line 137
- external/gpl2/xcvs/dist/src/buffer.c, 3 times
- external/gpl2/xcvs/dist/src/server.c, 3 times
- external/gpl3/gcc/dist/libcpp/files.c, 2 times
- external/gpl3/gdb/dist/gdb/gdbserver/linux-low.c, 2 times
- external/gpl3/gdb/dist/gdb/gnulib/import/chdir-long.c, line 76
- external/gpl3/gdb/dist/gdb/gnulib/import/fcntl.in.h, 5 times
- external/gpl3/gdb/dist/gdb/gnulib/import/open.c, line 77
- external/gpl3/gdb/dist/gdb/gnulib/import/openat-proc.c, line 77
- external/gpl3/gdb/dist/gdb/inflow.c, 3 times
- external/gpl3/gdb/dist/gdb/linux-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/ser-event.c, 2 times
- external/gpl3/gdb/dist/gdb/ser-pipe.c, line 89
- external/gpl3/gdb/dist/gdb/tui/tui-io.c, 2 times
- external/gpl3/gdb/dist/readline/examples/rlfe/os.h, 4 times
- external/gpl3/gdb/dist/readline/examples/rlfe/pty.c, 2 times
- external/gpl3/gdb/dist/readline/input.c, 2 times
- external/gpl3/gdb/dist/readline/shell.c, 2 times
- external/gpl3/gdb/dist/sim/bfin/dv-bfin_emac.c, line 573
- external/gpl3/gdb/dist/sim/bfin/linux-targ-map.h, 2 times
- external/gpl3/gdb/dist/sim/common/dv-sockser.c, 2 times
- external/gpl3/gdb/dist/sim/cris/traps.c, 2 times
- external/gpl3/gdb/dist/sim/erc32/erc32.c, 2 times
- external/ibm-public/postfix/dist/src/global/mbox_open.c, line 165
- external/ibm-public/postfix/dist/src/pickup/pickup.c, line 441
- external/ibm-public/postfix/dist/src/util/fifo_listen.c, 3 times
- external/ibm-public/postfix/dist/src/util/fifo_open.c, line 61
- external/ibm-public/postfix/dist/src/util/fifo_rdonly_bug.c, line 89
- external/ibm-public/postfix/dist/src/util/fifo_trigger.c, line 79
- external/ibm-public/postfix/dist/src/util/non_blocking.c, 2 times
- external/ibm-public/postfix/dist/src/util/stream_connect.c, line 75
- external/mpl/bind/dist/lib/isc/win32/unistd.h, line 17
- external/mpl/bind/include/config.h, line 531
- external/mpl/dhcp/dist/omapip/connection.c, line 206
- external/mpl/dhcp/dist/omapip/listener.c, line 171
- external/public-domain/xz/dist/src/xz/file_io.c, 8 times
- lib/libc/db/db/db.c, line 65
- lib/libc/gen/opendir.c, line 81
- lib/libc/gen/xsyslog.c, line 355
- lib/libc/rpc/svc_vc.c, line 366
- lib/libc/stdio/vdprintf.c, line 92
- lib/librumpclient/rumpclient.c, line 823
- lib/librumpuser/rumpuser_sp.c, line 628
- lib/libutil/pidfile.c, 2 times
- lib/libutil/ttymsg.c, line 111
- libexec/identd/identd.c, line 900
- libexec/utmp_update/utmp_update.c, line 129
- regress/sys/kern/select/select.c, line 193
- sbin/mount_portal/puffs_portal.c, line 645
- sbin/routed/main.c, 2 times
- sbin/ttyflags/ttyflags.c, line 217
- sys/arch/amiga/dev/ite.c, line 459
- sys/arch/amiga/dev/mfc.c, line 552
- sys/arch/amiga/dev/msc.c, line 429
- sys/arch/amiga/dev/ser.c, line 356
- sys/arch/arm/at91/at91usart.c, line 667
- sys/arch/arm/clps711x/clpscom.c, line 652
- sys/arch/arm/ep93xx/epcom.c, line 553
- sys/arch/arm/imx/imxuart.c, 2 times
- sys/arch/arm/ixp12x0/ixp12x0_com.c, line 589
- sys/arch/arm/s3c2xx0/sscom.c, line 717
- sys/arch/arm/sa11x0/sa11x0_com.c, line 603
- sys/arch/arm/xilinx/zynq_uart.c, 2 times
- sys/arch/arm/zynq/zynq_uart.c, 2 times
- sys/arch/atari/dev/ite.c, line 428
- sys/arch/atari/dev/ser.c, line 470
- sys/arch/atari/dev/zs.c, line 463
- sys/arch/atari/stand/msconfig/msconfig.c, line 70
- sys/arch/emips/ebus/dz_ebus.c, line 171
- sys/arch/epoc32/windermere/wmcom.c, line 540
- sys/arch/evbarm/dev/plcom.c, line 883
- sys/arch/evbppc/virtex/dev/xlcom.c, line 442
- sys/arch/hp300/dev/dcm.c, line 565
- sys/arch/hpcmips/tx/txcom.c, line 861
- sys/arch/luna68k/dev/siotty.c, line 546
- sys/arch/mips/sibyte/dev/sbjcn.c, line 607
- sys/arch/mips/sibyte/dev/sbscn.c, line 663
- sys/arch/sgimips/dev/scn.c, line 1142
- sys/arch/sh3/dev/sci.c, line 710
- sys/arch/sh3/dev/scif.c, line 814
- sys/arch/sparc64/dev/sab.c, line 738
- sys/arch/usermode/usermode/thunk.c, line 1071
- sys/arch/vax/uba/qvaux.c, line 552
- sys/compat/linux/arch/alpha/linux_pipe.c, line 86
- sys/compat/linux/common/linux_file.c, 2 times
- sys/compat/linux/common/linux_pipe.c, line 89
- sys/compat/linux32/common/linux32_unistd.c, line 256
- sys/compat/netbsd32/netbsd32_mqueue.c, 3 times
- sys/compat/sunos/sunos_ioctl.c, 2 times
- sys/compat/sunos/sunos_misc.c, line 698
- sys/compat/sunos32/sunos32_ioctl.c, 2 times
- sys/compat/sunos32/sunos32_misc.c, line 985
- sys/compat/ultrix/ultrix_pathname.c, line 164
- sys/dev/audio/audio.c, 2 times
- sys/dev/dec/dz.c, line 411
- sys/dev/ic/cd18xx.c, line 481
- sys/dev/ic/clmpcc.c, line 555
- sys/dev/ic/com.c, line 1045
- sys/dev/ic/cy.c, line 389
- sys/dev/ic/z8530tty.c, line 676
- sys/dev/marvell/gtmpsc.c, line 598
- sys/dev/microcode/aic7xxx/aicasm_symbol.c, line 137
- sys/dev/pci/cz.c, line 1034
- sys/dev/putter/putter.c, line 241
- sys/dev/qbus/dhu.c, line 477
- sys/dev/sbus/magma.c, line 962
- sys/dev/sbus/spif.c, line 393
- sys/dev/sun/sunkbd.c, line 223
- sys/dev/sun/sunms.c, line 197
- sys/dev/usb/ucom.c, 2 times
- sys/dev/usb/ucycom.c, line 426
- sys/dev/usb/uhso.c, line 1513
- sys/dev/video.c, 2 times
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- sys/external/bsd/drm2/dist/drm/drm_fops.c, line 531
- sys/external/bsd/drm2/dist/drm/i915/i915_debugfs.c, line 3390
- sys/kern/kern_descrip.c, line 753
- sys/kern/kern_drvctl.c, line 568
- sys/kern/sys_mqueue.c, 5 times
- sys/kern/sys_pipe.c, line 250
- sys/kern/tty_pty.c, line 399
- sys/kern/uipc_syscalls.c, line 1297
- sys/miscfs/fifofs/fifo_vnops.c, 2 times
- sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c, line 200
- sys/sys/fcntl.h, 4 times
- tests/kernel/kqueue/read/t_fifo.c, 3 times
- tests/kernel/kqueue/write/t_fifo.c, 2 times
- tests/kernel/t_pty.c, line 181
- tests/kernel/tty/t_pr.c, line 111
- tests/lib/libc/sys/t_mkfifo.c, 2 times
- tests/lib/libc/sys/t_mmap.c, line 127
- tests/lib/libc/sys/t_pipe2.c, 6 times
- tests/lib/libc/sys/t_poll.c, 4 times
- tests/lib/libc/sys/t_socketpair.c, 4 times
- tests/lib/libc/sys/t_stat.c, line 344
- tests/lib/libcurses/director/director.c, line 265
- tests/net/icmp/t_ping.c, line 156
- tests/net/net/t_tcp.c, 5 times
- usr.bin/calendar/calendar.c, line 512
- usr.bin/ftp/ftp.c, line 1718
- usr.bin/ftp/util.c, line 1404
- usr.bin/ktrace/ktrace.c, 2 times
- usr.bin/make/job.c, line 438
- usr.bin/rump_dhcpclient/bpf.c, 2 times
- usr.bin/tip/hunt.c, line 75
- usr.bin/tip/tip.c, line 202
- usr.sbin/btattach/btattach.c, line 577
- usr.sbin/faithd/tcp.c, line 208
- usr.sbin/iteconfig/iteconfig.c, line 264
- usr.sbin/ldpd/ldp_peer.c, line 192
- usr.sbin/mmcformat/uscsi_subr.c, 3 times
- usr.sbin/moused/moused.c, line 785
- usr.sbin/perfused/perfused.c, line 280
- usr.sbin/powerd/powerd.c, line 130
- usr.sbin/sunlabel/sunlabel.c, line 234
- usr.sbin/syslogd/syslogd.c, 4 times
- usr.sbin/syslogd/tls.c, 2 times
- usr.sbin/tpctl/main.c, line 396
- usr.sbin/tpctl/tp.c, line 79
- usr.sbin/wsmoused/selection.c, line 381
- usr.sbin/wsmoused/wsmoused.c, 3 times