Print this page
12066 Convert copyreq(9S) to mandoc

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9s/copyreq.9s
          +++ new/usr/src/man/man9s/copyreq.9s
   1      -'\" te
   2    1  .\" Copyright (c) 2000, Sun Microsystems, Inc., All Rights Reserved.
   3    2  .\" 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 COPYREQ 9S "Oct 6, 2000"
   8      -.SH NAME
   9      -copyreq \- STREAMS data structure for the M_COPYIN and the M_COPYOUT message
  10      -types
  11      -.SH SYNOPSIS
  12      -.LP
  13      -.nf
  14      -#include <sys/stream.h>
  15      -.fi
  16      -
  17      -.SH INTERFACE LEVEL
  18      -.sp
  19      -.LP
        3 +.\" Copyright 2018, Joyent, Inc.
        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 COPYREQ 9S
       20 +.Os
       21 +.Sh NAME
       22 +.Nm copyreq
       23 +.Nd STREAMS data structure for the
       24 +.Dv M_COPYIN
       25 +and the
       26 +.Dv M_COPYOUT
       27 +message types
       28 +.Sh SYNOPSIS
       29 +.In sys/stream.h
       30 +.Sh INTERFACE LEVEL
  20   31  Architecture independent level 1 (DDI/DKI)
  21      -.SH DESCRIPTION
  22      -.sp
  23      -.LP
  24      -The data structure for the \fBM_COPYIN\fR and the \fBM_COPYOUT\fR message
       32 +.Sh DESCRIPTION
       33 +The data structure for the
       34 +.Dv M_COPYIN
       35 +and the
       36 +.Dv M_COPYOUT
       37 +message
  25   38  types.
  26      -.SH STRUCTURE MEMBERS
  27      -.sp
  28      -.in +2
  29      -.nf
       39 +.Sh STRUCTURE MEMBERS
       40 +.Bd -literal -offset 2n
  30   41  int      cq_cmd;           /* ioctl command (from ioc_cmd) */
  31   42  cred_t   *cq_cr;           /* full credentials */
  32   43  uint_t   cq_id;            /* ioctl id (from ioc_id) */
  33      -uint_t   cq_flag;              /* must be zero */
       44 +uint_t   cq_flag;          /* must be zero */
  34   45  mblk_t   *cq_private;      /* private state information */
  35   46  caddr_t  cq_addr;          /* address to copy data to/from */
  36      -size_t   cq_size;          /* number of bytes to copy */        
  37      -.fi
  38      -.in -2
  39      -
  40      -.SH SEE ALSO
  41      -.sp
  42      -.LP
  43      -\fISTREAMS Programming Guide\fR
       47 +size_t   cq_size;          /* number of bytes to copy */
       48 +.Ed
       49 +.Sh SEE ALSO
       50 +.Rs
       51 +.%T STREAMS Programming Guide
       52 +.Re
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX