Deleted Added
full compact
aio_suspend.2 (108028) aio_suspend.2 (108087)
1.\" Copyright (c) 1999 Softweyr LLC.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 1999 Softweyr LLC.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/lib/libc/sys/aio_suspend.2 108028 2002-12-18 09:22:32Z ru $
25.\" $FreeBSD: head/lib/libc/sys/aio_suspend.2 108087 2002-12-19 09:40:28Z ru $
26.\"
27.Dd June 2, 1999
28.Dt AIO_SUSPEND 2
29.Os
30.Sh NAME
31.Nm aio_suspend
32.Nd suspend until asynchronous I/O operations or timeout complete (REALTIME)
33.Sh LIBRARY

--- 6 unchanged lines hidden (view full) ---

40The
41.Fn aio_suspend
42system call suspends the calling process until at least one of the
43specified asynchronous I/O requests have completed, a signal is
44delivered, or the
45.Fa timeout
46has passed.
47.Pp
26.\"
27.Dd June 2, 1999
28.Dt AIO_SUSPEND 2
29.Os
30.Sh NAME
31.Nm aio_suspend
32.Nd suspend until asynchronous I/O operations or timeout complete (REALTIME)
33.Sh LIBRARY

--- 6 unchanged lines hidden (view full) ---

40The
41.Fn aio_suspend
42system call suspends the calling process until at least one of the
43specified asynchronous I/O requests have completed, a signal is
44delivered, or the
45.Fa timeout
46has passed.
47.Pp
48The
48.Fa iocbs
49.Fa iocbs
50argument
49is an array of
50.Fa niocb
51pointers to asynchronous I/O requests. Array members containing
52NULL will be silently ignored.
53.Pp
54If
55.Fa timeout
56is a non-nil pointer, it specifies a maximum interval to suspend.

--- 15 unchanged lines hidden (view full) ---

72.Fn aio_suspend
73system call will fail if:
74.Bl -tag -width Er
75.It Bq Er EAGAIN
76the
77.Fa timeout
78expired before any I/O requests completed.
79.It Bq Er EINVAL
51is an array of
52.Fa niocb
53pointers to asynchronous I/O requests. Array members containing
54NULL will be silently ignored.
55.Pp
56If
57.Fa timeout
58is a non-nil pointer, it specifies a maximum interval to suspend.

--- 15 unchanged lines hidden (view full) ---

74.Fn aio_suspend
75system call will fail if:
76.Bl -tag -width Er
77.It Bq Er EAGAIN
78the
79.Fa timeout
80expired before any I/O requests completed.
81.It Bq Er EINVAL
82The
80.Fa iocbs
83.Fa iocbs
84argument
81contains more than
82.Dv AIO_LISTIO_MAX
83asynchronous I/O requests, or at least one of the requests is not
84valid.
85.It Bq Er EINTR
86the suspend was interrupted by a signal.
87.El
88.Sh SEE ALSO

--- 22 unchanged lines hidden ---
85contains more than
86.Dv AIO_LISTIO_MAX
87asynchronous I/O requests, or at least one of the requests is not
88valid.
89.It Bq Er EINTR
90the suspend was interrupted by a signal.
91.El
92.Sh SEE ALSO

--- 22 unchanged lines hidden ---