Page MenuHomeFreeBSD

D7462.id19186.diff
No OneTemporary

D7462.id19186.diff

Index: lib/libc/sys/aio_fsync.2
===================================================================
--- lib/libc/sys/aio_fsync.2
+++ lib/libc/sys/aio_fsync.2
@@ -74,16 +74,14 @@
.Pp
The
.Fa iocb->aio_sigevent
-structure can be used to request notification of the request's
+structure can be used to request notification of the operation's
completion as described in
.Xr aio 4 .
.Sh RESTRICTIONS
-The asynchronous I/O Control Block structure pointed to by
+The Asynchronous I/O Control Block structure pointed to by
.Fa iocb
must remain valid until the
operation has completed.
-For this reason, use of auto (stack) variables
-for these objects is discouraged.
.Pp
The asynchronous I/O control buffer
.Fa iocb
@@ -92,8 +90,8 @@
call to avoid passing bogus context information to the kernel.
.Pp
Modifications of the Asynchronous I/O Control Block structure or the
-buffer contents after the request has been enqueued, but before the
-request has completed, are not allowed.
+buffer contents are not allowed after the request has been enqueued
+but not yet completed.
.Sh RETURN VALUES
.Rv -std aio_fsync
.Sh ERRORS
Index: lib/libc/sys/aio_mlock.2
===================================================================
--- lib/libc/sys/aio_mlock.2
+++ lib/libc/sys/aio_mlock.2
@@ -67,7 +67,7 @@
.Pp
The
.Fa iocb->aio_sigevent
-structure can be used to request notification of the request's
+structure can be used to request notification of the operation's
completion as described in
.Xr aio 4 .
.Sh RESTRICTIONS
@@ -77,8 +77,6 @@
.Fa iocb->aio_buf
member of that structure references must remain valid until the
operation has completed.
-For this reason, use of auto (stack) variables
-for these objects is discouraged.
.Pp
The asynchronous I/O control buffer
.Fa iocb
@@ -87,8 +85,8 @@
call to avoid passing bogus context information to the kernel.
.Pp
Modifications of the Asynchronous I/O Control Block structure or the
-buffer contents after the request has been enqueued, but before the
-request has completed, are not allowed.
+buffer contents are not allowed after the request has been enqueued
+but not yet completed.
.Sh RETURN VALUES
.Rv -std aio_mlock
.Sh ERRORS
Index: lib/libc/sys/aio_read.2
===================================================================
--- lib/libc/sys/aio_read.2
+++ lib/libc/sys/aio_read.2
@@ -82,7 +82,7 @@
.Pp
The
.Fa iocb->aio_sigevent
-structure can be used to request notification of the request's
+structure can be used to request notification of the operation's
completion as described in
.Xr aio 4 .
.Sh RESTRICTIONS
@@ -92,8 +92,6 @@
.Fa iocb->aio_buf
member of that structure references must remain valid until the
operation has completed.
-For this reason, use of auto (stack) variables
-for these objects is discouraged.
.Pp
The asynchronous I/O control buffer
.Fa iocb
@@ -102,8 +100,8 @@
call to avoid passing bogus context information to the kernel.
.Pp
Modifications of the Asynchronous I/O Control Block structure or the
-buffer contents after the request has been enqueued, but before the
-request has completed, are not allowed.
+buffer contents are not allowed after the request has been enqueued
+but not yet completed.
.Pp
If the file offset in
.Fa iocb->aio_offset
Index: lib/libc/sys/aio_write.2
===================================================================
--- lib/libc/sys/aio_write.2
+++ lib/libc/sys/aio_write.2
@@ -88,7 +88,7 @@
.Pp
The
.Fa iocb->aio_sigevent
-structure can be used to request notification of the request's
+structure can be used to request notification of the operation's
completion as described in
.Xr aio 4 .
.Sh RESTRICTIONS
@@ -98,8 +98,6 @@
.Fa iocb->aio_buf
member of that structure references must remain valid until the
operation has completed.
-For this reason, use of auto (stack) variables
-for these objects is discouraged.
.Pp
The asynchronous I/O control buffer
.Fa iocb
@@ -108,8 +106,8 @@
system call to avoid passing bogus context information to the kernel.
.Pp
Modifications of the Asynchronous I/O Control Block structure or the
-buffer contents after the request has been enqueued, but before the
-request has completed, are not allowed.
+buffer contents are not allowed after the request has been enqueued
+but not yet completed.
.Pp
If the file offset in
.Fa iocb->aio_offset

File Metadata

Mime Type
text/plain
Expires
Thu, May 21, 6:38 AM (1 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33378158
Default Alt Text
D7462.id19186.diff (4 KB)

Event Timeline