diff options
Diffstat (limited to 'lib/libc/sys/aio_suspend.2')
-rw-r--r-- | lib/libc/sys/aio_suspend.2 | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/lib/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2 index d208d91..4c52230 100644 --- a/lib/libc/sys/aio_suspend.2 +++ b/lib/libc/sys/aio_suspend.2 @@ -67,12 +67,6 @@ completed, returns 0. Otherwise it returns -1 and sets .Va errno to indicate the error, as enumerated below. -.Sh SEE ALSO -.Xr aio_cancel 2 , -.Xr aio_error 2 , -.Xr aio_read 2 , -.Xr aio_suspend 2 , -.Xr aio_write 2 .Sh ERRORS The .Fn aio_suspend @@ -91,6 +85,32 @@ valid. .It Bq Er EINTR the suspend was interrupted by a signal. .El +.Sh KERNEL OPTIONS +The following kernel configuration option +(see +.Xr config 8 ) +is required: +.Pp +.Dl "options VFS_AIO" +.Pp +If you do not want AIO support included in the kernel, but +want to use it occasionally, do not add the +.Dv VFS_AIO +option. Instead, load the +.Nm aio +module as desired: +.Pp +.Dl kldload aio +.Pp +.Sh SEE ALSO +.Xr aio_cancel 2 , +.Xr aio_error 2 , +.Xr aio_return 2 , +.Xr aio_waitcomplete 2 , +.Xr aio_write 2 , +.Xr config 8 , +.Xr kldload 8 , +.Xr kldunload 8 .Sh STANDARDS .Fn aio_suspend is expected to conform to the |