Print this page
12309 errors in section 9e of the manual

@@ -2,33 +2,29 @@
 .\"  Copyright (c) 2008, Sun Microsystems, Inc.  All Rights Reserved.
 .\" Copyright 1989 AT&T
 .\" 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.
 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or  See the License for the specific language governing permissions and limitations under the License.
 .\" 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]
-.TH AWRITE 9E "Mar 28, 1997"
+.TH AWRITE 9E "February 15, 2020"
 awrite \- asynchronous write to a device
 #include <sys/uio.h>
 #include <sys/aio_req.h>
 #include <sys/cred.h>
 #include <sys/ddi.h>
 #include <sys/sunddi.h>
-\fBintprefix\fR\fBawrite\fR(\fBdev_t\fR \fIdev\fR, \fBstruct aio_req *\fR\fIaio_reqp\fR,
+\fBint prefix\fR\fBawrite\fR(\fBdev_t\fR \fIdev\fR, \fBstruct aio_req *\fR\fIaio_reqp\fR,
      \fBcred_t *\fR\fIcred_p\fR);
 Solaris \fBDDI \fRspecific (Solaris DDI). This entry point is optional. Drivers
 that do not support an  \fBawrite()\fR entry point should use  \fBnodev\fR(9F)
 .ne 2
 .RS 12n

@@ -53,12 +49,10 @@
 .RS 12n
 Pointer to the  credential structure.
 The driver's \fBawrite()\fR routine is called to perform an asynchronous write.
 \fBgetminor\fR(9F) can be used to  access the minor number component of the
 \fIdev\fR argument. \fBawrite()\fR may use the  credential structure pointed to
 by  \fIcred_p\fR to check for superuser access by calling  \fBdrv_priv\fR(9F).
 The  \fBawrite()\fR routine may also examine the  \fBuio\fR(9S) structure

@@ -69,20 +63,15 @@
 No fields of the \fBuio\fR(9S) structure pointed to by \fBaio_req\fR, other
 than \fBuio_offset\fR or \fBuio_loffset\fR, may be modified for non-seekable
 The  \fBawrite()\fR routine should return   \fB0\fR for success, or the
 appropriate error number.
 This function is called from user context only.
 \fBExample 1 \fRUsing the \fBawrite()\fR routine:
 The following is an example of an  \fBawrite()\fR routine:

@@ -105,20 +94,16 @@
 .in -2
 \fBwrite\fR(2), \fBaiowrite\fR(3C), \fBaread\fR(9E), \fBread\fR(9E),
 \fBstrategy\fR(9E), \fBwrite\fR(9E), \fBanocancel\fR(9F), \fBaphysio\fR(9F),
 \fBddi_get_soft_state\fR(9F), \fBdrv_priv\fR(9F), \fBgetminor\fR(9F),
 \fBminphys\fR(9F), \fBnodev\fR(9F), \fBaio_req\fR(9S), \fBcb_ops\fR(9S),
 \fIWriting Device Drivers\fR
 There is no way other than calling \fBaphysio\fR(9F) to accomplish an
 asynchronous write.