Print this page
12064 Convert iovec(9S) to mandoc

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9s/iovec.9s
          +++ new/usr/src/man/man9s/iovec.9s
   1      -'\" te
        1 +.\" Copyright 2018, Joyent, Inc.
   2    2  .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" Copyright 1989 AT&T
   4      -.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5      -.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6      -.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7      -.TH IOVEC 9S "Apr 11, 1991"
   8      -.SH NAME
   9      -iovec \- data storage structure for I/O using uio
  10      -.SH SYNOPSIS
  11      -.LP
  12      -.nf
  13      -#include <sys/uio.h>
  14      -.fi
  15      -
  16      -.SH INTERFACE LEVEL
  17      -.sp
  18      -.LP
        4 +.\" The contents of this file are subject to the terms of the
        5 +.\" Common Development and Distribution License (the "License").
        6 +.\" You may not use this file except in compliance with the License.
        7 +.\"
        8 +.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
        9 +.\" or http://www.opensolaris.org/os/licensing.
       10 +.\" See the License for the specific language governing permissions
       11 +.\" and limitations under the License.
       12 +.\"
       13 +.\" When distributing Covered Code, include this CDDL HEADER in each
       14 +.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       15 +.\" If applicable, add the following below this CDDL HEADER, with the
       16 +.\" fields enclosed by brackets "[]" replaced with your own identifying
       17 +.\" information: Portions Copyright [yyyy] [name of copyright owner]
       18 +.Dd July 9, 2018
       19 +.Dt IOVEC 9S
       20 +.Os
       21 +.Sh NAME
       22 +.Nm iovec
       23 +.Nd data storage structure for I/O using uio
       24 +.Sh SYNOPSIS
       25 +.In sys/uio.h
       26 +.Sh INTERFACE LEVEL
  19   27  Architecture independent level 1 (DDI/DKI).
  20      -.SH DESCRIPTION
  21      -.sp
  22      -.LP
  23      -An  \fBiovec\fR structure describes a data storage area for transfer in a
  24      -\fBuio\fR(9S) structure.  Conceptually, it can be thought of as a base address
       28 +.Sh DESCRIPTION
       29 +An
       30 +.Vt iovec
       31 +structure describes a data storage area for transfer in a
       32 +.Xr uio 9S
       33 +structure.
       34 +Conceptually, it can be thought of as a base address
  25   35  and length specification.
  26      -.SH STRUCTURE MEMBERS
  27      -.sp
  28      -.in +2
  29      -.nf
       36 +.Sh STRUCTURE MEMBERS
       37 +.Bd -literal -offset 2n
  30   38  caddr_t    iov_base;  /* base address of the data storage area */
  31   39                        /* represented by the iovec structure */
  32   40  int        iov_len;   /* size of the data storage area in bytes */
  33      -.fi
  34      -.in -2
  35      -
  36      -.SH SEE ALSO
  37      -.sp
  38      -.LP
  39      -\fBuio\fR(9S)
  40      -.sp
  41      -.LP
  42      -\fIWriting Device Drivers\fR
       41 +.Ed
       42 +.Sh SEE ALSO
       43 +.Xr uio 9S
       44 +.Rs
       45 +.%T Writing Device Drivers
       46 +.Re
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX