Some more xrefs.

This commit is contained in:
gmcgarry 2002-10-20 20:21:07 +00:00
parent f8fbaf68be
commit fa2f17c9b8
2 changed files with 10 additions and 5 deletions

View File

@ -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. .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" 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. function that implements a file operation.
The operations that must be implemented for each descriptor type are The operations that must be implemented for each descriptor type are
read, write, ioctl, fcntl, poll, stat, and close. 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 All state associated with an instance of an object must be stored in
that instance's data structure; the underlying objects are not permitted that instance's data structure; the underlying objects are not permitted
to manipulate the file entry themselves. to manipulate the file entry themselves.

View File

@ -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. .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -69,7 +69,8 @@
The functions described in this page are the vnode-specific file The functions described in this page are the vnode-specific file
descriptor operations. descriptor operations.
They should only be accessed through the opaque function pointers 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. They are described here only for completeness.
.Sh FUNCTIONS .Sh FUNCTIONS
.Bl -tag -width compact .Bl -tag -width compact
@ -82,7 +83,7 @@ and
is the calling process. is the calling process.
.Fn vn_closefile .Fn vn_closefile
simply calls simply calls
.Fn vn_close .Xr vn_close 9
with the appropriate arguments. with the appropriate arguments.
.It Fn vn_fcntl "fp" "com" "data" "p" .It Fn vn_fcntl "fp" "com" "data" "p"
Common code for a file table vnode 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 file 9 ,
.Xr intro 9 , .Xr intro 9 ,
.Xr vnode 9 , .Xr vnode 9 ,
.Xr vnodeops 9 .Xr vnodeops 9 ,
.Xr vnsubr 9