summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-11-08 08:23:34 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-11-08 08:23:34 +0000
commit2e391371ff227ca82ce5b8ecefb6a4026314863b (patch)
tree5a55237239f568fb0a2dd2c4c164c0f3bff877b0 /share/man
parente4d52d8e4223835aeb0680f73f9f9f57498efd08 (diff)
getvnode requires vnode.h; from bret lambert
ok pedro
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/file.99
1 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man9/file.9 b/share/man/man9/file.9
index ffeee899a6d..e0bc02890da 100644
--- a/share/man/man9/file.9
+++ b/share/man/man9/file.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: file.9,v 1.7 2004/02/05 14:25:52 jmc Exp $
+.\" $OpenBSD: file.9,v 1.8 2006/11/08 08:23:33 jmc Exp $
.\"
.\" Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -42,9 +42,12 @@
.Ft struct file *
.Fn fd_getfile "struct filedesc *fdp" "int fd"
.Ft int
-.Fn getvnode "struct filedesc *fdp" "int fd" "struct file **fpp"
-.Ft int
.Fn getsock "struct filedesc *fdp" "int fd" "struct file **fpp"
+.Fd #include <sys/file.h>
+.Fd #include <sys/filedesc.h>
+.Fd #include <sys/vnode.h>
+.Ft int
+.Fn getvnode "struct filedesc *fdp" "int fd" "struct file **fpp"
.Sh DESCRIPTION
These functions provide the interface for the UNIX file descriptors.
File descriptors can be used to access vnodes (see