From owner-man-jp-reviewer@jp.freebsd.org  Mon Jan 29 03:42:09 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id DAA32176;
	Mon, 29 Jan 2001 03:42:09 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from www.ccn-net.ne.jp (www.ccn-net.ne.jp [210.191.160.130])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id DAA32171
	for <man-jp-reviewer@jp.freebsd.org>; Mon, 29 Jan 2001 03:42:08 +0900 (JST)
	(envelope-from ohsawa@catv1.ccn-net.ne.jp)
Received: from catv1.ccn-net.ne.jp ([10.16.64.85])
	by www.ccn-net.ne.jp (8.9.3+Sun/3.7W-00060811) with ESMTP id DAA21137
	for <man-jp-reviewer@jp.freebsd.org>; Mon, 29 Jan 2001 03:41:59 +0900 (JST)
Message-ID: <3A7467FA.FCEA3255@catv1.ccn-net.ne.jp>
Date: Mon, 29 Jan 2001 03:42:02 +0900
From: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
X-Mailer: Mozilla 4.75 [ja] (Win98; U)
X-Accept-Language: ja
MIME-Version: 1.0
To: man-jp-reviewer@jp.freebsd.org
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp-reviewer 3279
Subject: [man-jp-reviewer 3279] aio_waitcomplete.2
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: ohsawa@catv1.ccn-net.ne.jp

$BBg_7!w4tIl$G$9!#(B

aio_waitcomplete.2 $B$N=iLu$G$9!#(B

.Nd $B$OE,Ev$KIU$1$^$7$?!#!VHsF14|F~=PNOMW5a$N=*N;$^$GBT5!$5$;$k(B($B2>>N(B)$B!W(B
"request" $B$H$$$&8@MU$,$I$&$b(B system call $B$N0UL#$G;H$o$l$F$$$k$h$&$J$N$G$9$,(B
$B$=$N$^$s$^!"%j%/%(%9%H(B($B$^$?$OMW5a(B)$B$H$7$F$*$-$^$7$?!#(B($B$^$?$O!"$H$A$c$C$?(B)
# $BLu$7$F$J$$$8$c$J$$$+!*$C$F8@$o$J$$$G$/$@$5$$!#(Bm(__)m
$B$=$l$+$i!"@5D>$KGr>u$9$k$H(B jman $B$KDL$7$F%A%'%C%/$7$F$$$^$;$s!#(Bm(__)mm(__)mm(__)m
$B$&$A$N(B jman $B7/!"5!7y$,0-$/$F$^$H$b$KI=<($7$F$/$l$J$$$N$G!#(B
roff $B%=!<%9$O(B jless $B$G$A$c$s$HI=<($G$-$k$N$G(B jman $B$r:F%$%s%9%H!<%k$7$F$_$?$j(B
$B$"$,$$$F$_$?$N$G$9$,!DJz$(9~$s$G$$$k$H@h$K?J$^$J$$$N$GDs=P$7$^$9!#(B
-----------------------------------------------------------------------
OHSAWA Chitoshi        mailto:ohsawa@catv1.ccn-net.ne.jp
MAY THE SOURCE WITH YOU!
 $BBg_7@iIR(B

--- aio_waitcomplete.2~engorg	Tue Jan 16 02:33:24 2001
+++ aio_waitcomplete.2	Sun Jan 28 21:59:26 2001
@@ -27,85 +27,85 @@
 .Dd January 19, 2000
 .Dt AIO_WAITCOMPLETE 2
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm aio_waitcomplete
-.Nd wait for the next completion of an aio request
-.Sh LIBRARY
+.Nd $BHsF14|F~=PNOMW5a$N=*N;$^$GBT5!$5$;$k(B ($B2>>N(B)
+.\" $BBg_7(B: wait for the next completion of an aio request
+.Sh $B%i%$%V%i%j(B
 .Lb libc
-.Sh SYNOPSIS
+.Sh $B=q<0(B
 .Fd #include <aio.h>
 .Ft int
 .Fn aio_waitcomplete "struct aiocb **iocbp, struct timeval *timeout"
-.Sh DESCRIPTION
-The
+.Sh $B2r@b(B
 .Fn aio_waitcomplete
-function waits for completion of an asynchronous I/O request.  Upon completion,
+$B4X?t$OHsF14|$NF~=PNO$N40N;$^$GBT$A$^$9!#40N;<!Bh!"(B
 .Fn aio_waitcomplete
-returns the result of the function and sets
+$B4X?t$O$=$N4X?t$N7k2L$rJV$7!"(B
 .Fa iocbp
-to point to the structure associated with the original request. If an
-asynchronous I/O request is completed before
+$B$r85$N%j%/%(%9%H$H4XO"$9$k9=B$BN$X$N%]%$%s%?$r%;%C%H$7$^$9!#$b$7!"(B
 .Fn aio_waitcomplete
-is called, it returns immediately with the completed request.
+$B4X?t$,8F$S=P$5$l$kA0$KHsF14|F~=PNO%j%/%(%9%H$,40N;$7$F$$$?>l9g$K$O!"(B
+$B40N;$7$?%j%/%(%9%H$N7k2L$rB(:B$KJV$7$^$9!#(B
 .Pp
-If
 .Fa timeout
-is a non-NULL pointer, it specifies a maximum interval to wait for a
-asynchronous I/O request to complete.  If
+$B$,%L%k%]%$%s%?$G$J$$>l9g$O!"HsF14|F~=PNO%j%/%(%9%H$,40N;$9$k$^$G(B
+$BBT5!$9$k:GBg;~4V$r;XDj$7$^$9!#(B
 .Fa timeout
-is a NULL pointer,
+$B$,%L%k%]%$%s%?$N>l9g$O!"(B
 .Fn aio_waitcomplete
-waits indefinitely.  To effect a poll, the
+$B$OL5@)8B$KBT5!$7$^$9!#(B
+To effect a poll (??$BLu$;$^$;$s(B??)
+$B0z?t(B
 .Fa timeout
-argument should be non-NULL, pointing to a zero-valued timeval structure.
+$B$O%L%k$G$O$J$/!"(B0 $B$NCM$r;}$D(B timeval $B9=B$BN$r;X$9$h$&$K$9$k$Y$-$G$9!#(B
 .Pp
-The
 .Fn aio_waitcomplete
-function also serves the function of
-.Fn aio_return ,
-thus
+$B4X?t$O(B
 .Fn aio_return
-should not be called for the control block returned in
-.Fa iocbp .
-.Sh RETURN VALUES
+$B$NLr3d$b$7$^$9!#=>$C$F!"(B
+.Fn aio_return
+$B$O(B
+.Fa iocbp
+$B$GJV$5$l$?%3%s%H%m!<%k%V%m%C%/$K8F$S=P$5$l$kI,MW$O$"$j$^$;$s!#(B
+.Sh $BLa$jCM(B
+$BHsF14|F~=PNO%j%/%(%9%H$,40N;$7$?>l9g!"(B
 If an asynchronous I/O request has completed,
 .Fa iocbp
-is set to point to the control block passed with the original request, and
-the status is returned as described in
+$B$K85$N%j%/%(%9%H$+$iEO$5$l$?%3%s%H%m!<%k%V%m%C%/$r;X$9%]%$%s%?$H!"(B
 .Xr read 2 ,
 .Xr write 2 ,
-or
-.Xr fsync 2 .
-On failure,
-.Fn aio_waitcomplete
-returns
-.Dv -1 ,
-sets iocbp to
+.Xr fsync 2
+$B$N3F4X?t$+$iJV$5$l$?%9%F!<%?%9$,%;%C%H$5$l$^$9!#(B
+$BHsF14|F~=PNO%j%/%(%9%H$,<:GT$7$?>l9g!"(B
+.Fn aio_waitcomplete
+$B$O(B
+.Dv -1
+$B$rJV$7!"(Biocbp $B$K(B
 .Dv NULL
-and
+$B%;%C%H$7$^$9!#$=$7$F!"(B
 .Dv errno
-to indicate the error condition.
-.Sh ERRORS
-The
+$B$K%(%i!<$N>u67$r%;%C%H$7$^$9!#(B
+.Sh $B%(%i!<(B
 .Fn aio_waitcomplete
-function fails if:
+$B4X?t$,<:GT$7$?>l9g(B
 .Bl -tag -width Er
 .It Bq Er EINVAL
-The specified time limit is invalid.
+$B;XDj$5$l$?@)8B;~4V$,L58z$G$9!#(B
 .It Bq Er EAGAIN
-The process has not yet called
+$B%W%m%;%9$O$^$@(B
 .Fn aio_read
-or
+$B$d(B
 .Fn aio_write .
+$B$r8F$S=P$7$F$$$^$;$s!#(B
 .It Bq Er EINTR
-A signal was delivered before the timeout expired and before any
-asynchronous I/O requests completed.
+$B%?%$%`%"%&%H$9$kA0$+!"(B
+$BHsF14|F~=PNO%j%/%(%9%H$,40N;$9$kA0$K%7%0%J%k$,FO$-$^$7$?!#(B
 .It Bq Er EWOULDBLOCK
 .It Bq Er EINPROGRESS
-The specified time limit expired before any asynchronous I/O requests
-completed.
+$BHsF14|F~=PNO%j%/%(%9%H$N40N;A0$K;XDj$5$l$?@)8B;~4V$KC#$7$^$7$?!#(B
 .El
-.Sh SEE ALSO
+.Sh $B;2>H(B
 .Xr aio_cancel 2 ,
 .Xr aio_error 2 ,
 .Xr aio_read 2 ,
@@ -115,19 +115,18 @@
 .Xr fsync 2 ,
 .Xr read 2 ,
 .Xr write 2 .
-.Sh STANDARDS
-The
+.Sh $B5,3J(B
 .Fn aio_waitcomplete
-function is a
+$B4X?t$O(B
 .Fx Ns -specific
-extension.
-.Sh HISTORY
-The
-.Fn aio_waitcomplete
-function first appeared in
-.Fx 4.0 .
-.Sh AUTHORS
-The
+$B$N3HD%$G$9!#(B
+.Sh $BNr;K(B
 .Fn aio_waitcomplete
-function and this manual page were written by
-.An Christopher M Sedore Aq cmsedore@maxwell.syr.edu .
+$B4X?t$O(B
+.Fx 4.0
+$B$G$O$8$a$FEP>l$7$^$7$?!#(B
+.Sh $B:n<T(B
+.Fn aio_waitcomplete
+$B4X?t$H$3$N%^%K%e%"%k%Z!<%8$O(B
+.An Christopher M Sedore Aq cmsedore@maxwell.syr.edu
+$B$,:n@.$7$^$7$?!#(B
