View | Details | Raw Unified | Return to bug 39748 | Differences between
and this patch

Collapse All | Expand All

(-)lib/libc/sys_new/aio_cancel.2 (+6 lines)
Lines 49-54 Link Here
49
Normal asynchronous notification occurs for cancelled requests.
49
Normal asynchronous notification occurs for cancelled requests.
50
Requests complete with an error result of
50
Requests complete with an error result of
51
.Er ECANCELED .
51
.Er ECANCELED .
52
.Pp
53
Note that you must have
54
.Dq options VFS_AIO
55
in your kernel configuration file to use this function.
56
See also the comment in the LINT or NOTES kernel configuration file,
57
respectively.
52
.Sh RESTRICTIONS
58
.Sh RESTRICTIONS
53
The
59
The
54
.Fn aio_cancel
60
.Fn aio_cancel
(-)lib/libc/sys_new/aio_error.2 (+6 lines)
Lines 42-47 Link Here
42
function returns the error status of the asynchronous I/O request
42
function returns the error status of the asynchronous I/O request
43
associated with the structure pointed to by
43
associated with the structure pointed to by
44
.Fa iocb .
44
.Fa iocb .
45
.Pp
46
Note that you must have
47
.Dq options VFS_AIO
48
in your kernel configuration file to use this function.
49
See also the comment in the LINT or NOTES kernel configuration file,
50
respectively.
45
.Sh RETURN VALUES
51
.Sh RETURN VALUES
46
If the asynchronous I/O request has completed successfully,
52
If the asynchronous I/O request has completed successfully,
47
.Fn aio_error
53
.Fn aio_error
(-)lib/libc/sys_new/aio_read.2 (+6 lines)
Lines 79-84 Link Here
79
.Fa iocb->aio_offset
79
.Fa iocb->aio_offset
80
can be modified during the request as context, so this value must
80
can be modified during the request as context, so this value must
81
not be referenced after the request is enqueued.
81
not be referenced after the request is enqueued.
82
.Pp
83
Note that you must have
84
.Dq options VFS_AIO
85
in your kernel configuration file to use this function.
86
See also the comment in the LINT or NOTES kernel configuration file,
87
respectively.
82
.Sh RESTRICTIONS
88
.Sh RESTRICTIONS
83
The Asynchronous I/O Control Block structure pointed to by
89
The Asynchronous I/O Control Block structure pointed to by
84
.Fa iocb
90
.Fa iocb
(-)lib/libc/sys_new/aio_return.2 (+6 lines)
Lines 49-54 Link Here
49
.Xr aio_error 2
49
.Xr aio_error 2
50
returns something other than
50
returns something other than
51
.Er EINPROGRESS .
51
.Er EINPROGRESS .
52
.Pp
53
Note that you must have
54
.Dq options VFS_AIO
55
in your kernel configuration file to use this function.
56
See also the comment in the LINT or NOTES kernel configuration file,
57
respectively.
52
.Sh RETURN VALUES
58
.Sh RETURN VALUES
53
If the asynchronous I/O request has completed, the status is returned
59
If the asynchronous I/O request has completed, the status is returned
54
as described in
60
as described in
(-)lib/libc/sys_new/aio_suspend.2 (+6 lines)
Lines 60-65 Link Here
60
poll, the
60
poll, the
61
.Fa timeout
61
.Fa timeout
62
should point to a zero-value timespec structure.
62
should point to a zero-value timespec structure.
63
.Pp
64
Note that you must have
65
.Dq options VFS_AIO
66
in your kernel configuration file to use this function.
67
See also the comment in the LINT or NOTES kernel configuration file,
68
respectively.
63
.Sh RETURN VALUES
69
.Sh RETURN VALUES
64
If one or more of the specified asynchronous I/O requests have
70
If one or more of the specified asynchronous I/O requests have
65
completed,
71
completed,
(-)lib/libc/sys_new/aio_waitcomplete.2 (+6 lines)
Lines 70-75 Link Here
70
.Fn aio_return
70
.Fn aio_return
71
should not be called for the control block returned in
71
should not be called for the control block returned in
72
.Fa iocbp .
72
.Fa iocbp .
73
.Pp
74
Note that you must have
75
.Dq options VFS_AIO
76
in your kernel configuration file to use this function.
77
See also the comment in the LINT or NOTES kernel configuration file,
78
respectively.
73
.Sh RETURN VALUES
79
.Sh RETURN VALUES
74
If an asynchronous I/O request has completed,
80
If an asynchronous I/O request has completed,
75
.Fa iocbp
81
.Fa iocbp
(-)lib/libc/sys_new/aio_write.2 (+6 lines)
Lines 83-88 Link Here
83
.Fa iocb->aio_offset
83
.Fa iocb->aio_offset
84
can be modified during the request as context, so this value must not
84
can be modified during the request as context, so this value must not
85
be referenced after the request is enqueued.
85
be referenced after the request is enqueued.
86
.Pp
87
Note that you must have
88
.Dq options VFS_AIO
89
in your kernel configuration file to use this function.
90
See also the comment in the LINT or NOTES kernel configuration file,
91
respectively.
86
.Sh RESTRICTIONS
92
.Sh RESTRICTIONS
87
The Asynchronous I/O Control Block structure pointed to by
93
The Asynchronous I/O Control Block structure pointed to by
88
.Fa iocb
94
.Fa iocb

Return to bug 39748