FreeBSD Bugzilla – Attachment 228181 Details for
Bug 210469
aio_xxx(3) manpages do not detail struct aiocb
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
aio_read(2) and aio_write(2) patch
aio_readwrite.2.patch (text/plain), 2.25 KB, created by
Felix Johnson
on 2021-09-26 00:38:23 UTC
(
hide
)
Description:
aio_read(2) and aio_write(2) patch
Filename:
MIME Type:
Creator:
Felix Johnson
Created:
2021-09-26 00:38:23 UTC
Size:
2.25 KB
patch
obsolete
>diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2 >index 0327ef1f747..2c9cea0fbf5 100644 >--- a/lib/libc/sys/aio_read.2 >+++ b/lib/libc/sys/aio_read.2 >@@ -41,6 +41,18 @@ > .Ft int > .Fn aio_readv "struct aiocb *iocb" > .Sh DESCRIPTION >+.Bd -literal >+struct aiocb { >+ int aio_fildes; /* File descriptor */ >+ off_t aio_offset; /* File offset for I/O */ >+ volatile void *aio_buf; /* I/O buffer in process space */ >+ size_t aio_nbytes; /* Number of bytes for I/O */ >+ int aio_lio_opcode; /* LIO opcode */ >+ int aio_reqprio; /* Request priority - ignored */ >+ struct sigevent aio_sigevent; /* Signal to deliver */ >+}; >+.Ed >+.Pp > The > .Fn aio_read > and >@@ -232,6 +244,7 @@ would be invalid. > .Xr aio_suspend 2 , > .Xr aio_waitcomplete 2 , > .Xr aio_write 2 , >+.Xr lio_listio 2 , > .Xr sigevent 3 , > .Xr siginfo 3 , > .Xr aio 4 >@@ -257,7 +270,3 @@ system call first appeared in > This > manual page was written by > .An Terry Lambert Aq Mt terry@whistle.com . >-.Sh BUGS >-Invalid information in >-.Fa iocb->_aiocb_private >-may confuse the kernel. >diff --git a/lib/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2 >index 601515b0e7b..a135a284fa1 100644 >--- a/lib/libc/sys/aio_write.2 >+++ b/lib/libc/sys/aio_write.2 >@@ -41,6 +41,18 @@ > .Ft int > .Fn aio_writev "struct aiocb *iocb" > .Sh DESCRIPTION >+.Bd -literal >+struct aiocb { >+ int aio_fildes; /* File descriptor */ >+ off_t aio_offset; /* File offset for I/O */ >+ volatile void *aio_buf; /* I/O buffer in process space */ >+ size_t aio_nbytes; /* Number of bytes for I/O */ >+ int aio_lio_opcode; /* LIO opcode */ >+ int aio_reqprio; /* Request priority - ignored */ >+ struct sigevent aio_sigevent; /* Signal to deliver */ >+}; >+.Ed >+.Pp > The > .Fn aio_write > and >@@ -226,6 +238,7 @@ would be invalid. > .Xr aio_return 2 , > .Xr aio_suspend 2 , > .Xr aio_waitcomplete 2 , >+.Xr lio_listio 2 , > .Xr sigevent 3 , > .Xr siginfo 3 , > .Xr aio 4 >@@ -252,7 +265,3 @@ system call first appeared in > .Sh AUTHORS > This manual page was written by > .An Wes Peters Aq Mt wes@softweyr.com . >-.Sh BUGS >-Invalid information in >-.Fa iocb->_aiocb_private >-may confuse the kernel.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210469
: 228181