Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 struct buf is typedefed to buf_t



details:   https://anonhg.NetBSD.org/src/rev/e64ddd611b21
branches:  trunk
changeset: 454267:e64ddd611b21
user:      sevan <sevan%NetBSD.org@localhost>
date:      Thu Sep 12 21:08:35 2019 +0000

description:
struct buf is typedefed to buf_t
specify the width argument for Bl

diffstat:

 share/man/man9/bufferio.9 |  26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diffs (78 lines):

diff -r 72c54852c784 -r e64ddd611b21 share/man/man9/bufferio.9
--- a/share/man/man9/bufferio.9 Thu Sep 12 20:32:30 2019 +0000
+++ b/share/man/man9/bufferio.9 Thu Sep 12 21:08:35 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bufferio.9,v 1.17 2017/03/18 19:01:01 riastradh Exp $
+.\"    $NetBSD: bufferio.9,v 1.18 2019/09/12 21:08:35 sevan Exp $
 .\"
 .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 29, 2015
+.Dd September 12, 2019
 .Dt BUFFERIO 9
 .Os
 .Sh NAME
@@ -42,18 +42,18 @@
 .Sh SYNOPSIS
 .In sys/buf.h
 .Ft void
-.Fn biodone "struct buf *bp"
+.Fn biodone "buf_t *bp"
 .Ft int
-.Fn biowait "struct buf *bp"
-.Ft struct buf *
+.Fn biowait "buf_t *bp"
+.Ft buf_t *
 .Fn getiobuf "struct vnode *vp" "bool waitok"
 .Ft void
-.Fn putiobuf "struct buf *bp"
+.Fn putiobuf "buf_t *bp"
 .Ft void
-.Fn nestiobuf_setup "struct buf *mbp" "struct buf *bp" "int offset" \
+.Fn nestiobuf_setup "buf_t *mbp" "buf_t *bp" "int offset" \
         "size_t size"
 .Ft void
-.Fn nestiobuf_done "struct buf *mbp" "int donebytes" "int error"
+.Fn nestiobuf_done "buf_t *mbp" "int donebytes" "int error"
 .Sh DESCRIPTION
 The
 .Nm
@@ -82,10 +82,10 @@
 are specified by the following
 .Vt "struct buf"
 fields:
-.Bl -tag -offset abcd
+.Bl -tag -width 6n -offset abcd
 .It Fa bp Ns Li "->b_flags"
 Flags specifying the type of transfer.
-.Bl -tag -compact
+.Bl -tag -width 6n -compact
 .It Dv B_READ
 Transfer is read from device.
 If not set, transfer is write to device.
@@ -283,10 +283,10 @@
 .Pq Xr driver 9 ,
 to queue a buffer for disk I/O.
 The inputs to the strategy method are:
-.Bl -tag -offset abcd
+.Bl -tag -width 6n -offset abcd
 .It Fa bp Ns Li "->b_flags"
 Flags specifying the type of transfer.
-.Bl -tag -compact
+.Bl -tag -width 6n -compact
 .It Dv B_READ
 Transfer is read from device.
 If not set, transfer is write to device.
@@ -305,7 +305,7 @@
 .Fa bp
 with
 .Xr bufq_put 9 :
-.Bl -tag -offset abcd
+.Bl -tag -width 6n -offset abcd
 .It Fa bp Ns Li "->b_rawblkno"
 Block number relative to volume start.
 .El



Home | Main Index | Thread Index | Old Index