summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-07-05 18:24:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-07-05 18:24:51 +0000
commit98ea190c1071c264c41507d766e47e8dd4e50ff1 (patch)
tree58aa58c3b70539f6ff6354be5f68e791660d981a /share/man
parent630f08d5c022d176378ccd58b9fbf2dc6fde562a (diff)
Document the new 'fflag' argument to VOP_POLL().
From Martin Natano
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/VOP_LOOKUP.99
1 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index 71e9e516ff6..eee1ec5e769 100644
--- a/share/man/man9/VOP_LOOKUP.9
+++ b/share/man/man9/VOP_LOOKUP.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: VOP_LOOKUP.9,v 1.26 2014/09/08 01:27:55 schwarze Exp $
+.\" $OpenBSD: VOP_LOOKUP.9,v 1.27 2015/07/05 18:24:50 millert Exp $
.\"
.\" Copyright (c) 2003 Ted Unangst
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 8 2014 $
+.Dd $Mdocdate: July 5 2015 $
.Dt VOP_LOOKUP 9
.Os
.Sh NAME
@@ -162,6 +162,7 @@
.Ft int
.Fo VOP_POLL
.Fa "struct vnode *vp"
+.Fa "int fflag"
.Fa "int events"
.Fa "struct proc *p"
.Fc
@@ -622,13 +623,15 @@ The result is placed in
Upon success, zero is returned; otherwise, an appropriate error code is
returned.
.Pp
-.It Fn VOP_POLL vp events p
+.It Fn VOP_POLL vp fflag events p
Determine whether the vnode
.Fa vp
is ready to perform the operations specified by
.Fa events
(see
.Xr poll 2 )
+with file flags
+.Fa fflag
for the calling process
.Fa p .
The