summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/bpf.49
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index 2aa846163cc..b519251a151 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bpf.4,v 1.16 2003/06/20 20:55:16 jmc Exp $
+.\" $OpenBSD: bpf.4,v 1.17 2003/06/23 21:19:52 jmc Exp $
.\" $NetBSD: bpf.4,v 1.7 1995/09/27 18:31:50 thorpej Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
@@ -292,9 +292,10 @@ Returns the number of bytes that are immediately available for reading.
Returns the address associated with the interface.
.It Dv FIONBIO Pf ( Li int Ns No )
Set or clear non-blocking I/O.
-If the argument is non-zero, then doing a read while no data is available will
-return 0.
-If the argument is zero, non-blocking I/O is disabled.
+If the argument is non-zero, enable non-blocking I/O.
+If the argument is zero, disable non-blocking I/O.
+If non-blocking I/O is enabled, the return value of a read while no data
+is available will be 0.
The non-blocking read behavior is different from performing non-blocking
reads on other file descriptors, which will return \-1 and set
.Va errno