summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2004-02-05 14:25:52 +0000
committerjmc <jmc@openbsd.org>2004-02-05 14:25:52 +0000
commitb6f1e55ce4d45c35cb36c7286965a6db55cb5e06 (patch)
tree2affb54d64d763328227b8f8ff3920123e995ca1
parentxlint compatible headers. (non-gcc) (diff)
downloadwireguard-openbsd-b6f1e55ce4d45c35cb36c7286965a6db55cb5e06.tar.xz
wireguard-openbsd-b6f1e55ce4d45c35cb36c7286965a6db55cb5e06.zip
make .Nm match .Dt to avoid screwy apropos(1) output;
found by pb@
-rw-r--r--share/man/man9/VOP_LOOKUP.912
-rw-r--r--share/man/man9/file.94
2 files changed, 8 insertions, 8 deletions
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index 85e279ddc8b..cfd6a644851 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.12 2003/10/23 18:31:34 jmc Exp $
+.\" $OpenBSD: VOP_LOOKUP.9,v 1.13 2004/02/05 14:25:52 jmc Exp $
.\"
.\" Copyright (c) 2003 Ted Unangst
.\" All rights reserved.
@@ -27,7 +27,7 @@
.Dt VOP_LOOKUP 9
.Os
.Sh NAME
-.Nm VOP functions
+.Nm VOP_LOOKUP
.Nd vnode operations
.Sh SYNOPSIS
.Fd #include <sys/vnode.h>
@@ -157,7 +157,7 @@
.\" and many more
.Sh DESCRIPTION
The
-.Nm
+.Nm VOP
functions implement a generic way to perform operations on vnodes.
The VOP function called passes the arguments to the correct file system
specific function.
@@ -408,18 +408,18 @@ The rules for locking and referencing vnodes are enforced by each
file system implementation, not the VOP stubs.
.Sh RETURN VALUES
The
-.Nm
+.Nm VOP
functions return 0 to indicate success and a non-zero error code
to indicate failure.
.Sh FILES
.Bl -tag -width sys/kern/vnode_if.src -compact
.It Pa sys/kern/vnode_if.src
source file containing
-.Nm
+.Nm VOP
definitions
.It Pa sys/kern/vnode_if.c
C file with implementations of each
-.Nm
+.Nm VOP
stub call
.El
.Sh SEE ALSO
diff --git a/share/man/man9/file.9 b/share/man/man9/file.9
index 1b3f8135d86..ffeee899a6d 100644
--- a/share/man/man9/file.9
+++ b/share/man/man9/file.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: file.9,v 1.6 2004/01/24 06:50:21 jmc Exp $
+.\" $OpenBSD: file.9,v 1.7 2004/02/05 14:25:52 jmc Exp $
.\"
.\" Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -26,7 +26,7 @@
.Dt FILE 9
.Os
.Sh NAME
-.Nm vnode
+.Nm file
.Nd an overview of file descriptor handling
.Sh SYNOPSIS
.Fd #include <sys/file.h>