From 2e391371ff227ca82ce5b8ecefb6a4026314863b Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Wed, 8 Nov 2006 08:23:34 +0000 Subject: getvnode requires vnode.h; from bret lambert ok pedro --- share/man/man9/file.9 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'share') 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 .\" 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 +.Fd #include +.Fd #include +.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 -- cgit v1.2.3