From fa2f17c9b852103546b9bfebcaae04df122f32c7 Mon Sep 17 00:00:00 2001 From: gmcgarry Date: Sun, 20 Oct 2002 20:21:07 +0000 Subject: [PATCH] Some more xrefs. --- share/man/man9/file.9 | 5 ++++- share/man/man9/vnfileops.9 | 10 ++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/share/man/man9/file.9 b/share/man/man9/file.9 index 4866b814d906..f4e79c271688 100644 --- a/share/man/man9/file.9 +++ b/share/man/man9/file.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: file.9,v 1.3 2002/10/20 11:04:52 wiz Exp $ +.\" $NetBSD: file.9,v 1.4 2002/10/20 20:21:07 gmcgarry Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -120,6 +120,9 @@ A reference to the data structure is passed as the first parameter to a function that implements a file operation. The operations that must be implemented for each descriptor type are read, write, ioctl, fcntl, poll, stat, and close. +See +.Xr vnfileops 9 +for an overview of the vnode file operations. All state associated with an instance of an object must be stored in that instance's data structure; the underlying objects are not permitted to manipulate the file entry themselves. diff --git a/share/man/man9/vnfileops.9 b/share/man/man9/vnfileops.9 index f1ee05c731ee..2bd09ee2a6b1 100644 --- a/share/man/man9/vnfileops.9 +++ b/share/man/man9/vnfileops.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: vnfileops.9,v 1.4 2002/10/20 10:37:36 wiz Exp $ +.\" $NetBSD: vnfileops.9,v 1.5 2002/10/20 20:21:07 gmcgarry Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -69,7 +69,8 @@ The functions described in this page are the vnode-specific file descriptor operations. They should only be accessed through the opaque function pointers -in the file descriptor entries. +in the file entries (see +.Xr file 9 ) . They are described here only for completeness. .Sh FUNCTIONS .Bl -tag -width compact @@ -82,7 +83,7 @@ and is the calling process. .Fn vn_closefile simply calls -.Fn vn_close +.Xr vn_close 9 with the appropriate arguments. .It Fn vn_fcntl "fp" "com" "data" "p" Common code for a file table vnode @@ -198,4 +199,5 @@ The high-level convenience functions are implemented within the file .Xr file 9 , .Xr intro 9 , .Xr vnode 9 , -.Xr vnodeops 9 +.Xr vnodeops 9 , +.Xr vnsubr 9