]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 304476: Fix various nits in the aio operation manpages.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 Aug 2016 17:52:10 +0000 (17:52 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 Aug 2016 17:52:10 +0000 (17:52 +0000)
commita2d975e8dc4788996c5f66e70eba6a6caf33de25
treee6d8d254be4e571407cac63d102fc8f57624d5be
parent6e037bf7be483d1ab0c1c4fe03f47665f8c01754
MFC 304476: Fix various nits in the aio operation manpages.

- Avoid double use of "request" in a single sentence.  Instead, describe
  aio_sigevent as being used to request notification of the associated
  operation's completion.  This matches the language used to describe
  aio_sigevent in aio(4).
- Simplify the prohibition on modifying buffers while requests are in
  flight.
- Fix case mismatch.
- Drop note about not using stack variables. C programmers should be able
  to figure out if a stack variable is safe based on the later warning
  about the life cycle requirements of control blocks.
- Remove prohibition on modifying the I/O buffer for aio_fsync() since
  it does not use an I/O buffer.  For aio_mlock(), prohibit modifications
  to the mapping (e.g. due to mprotect, munmap, mmap, etc.) but do not
  prohibit modifications to the memory backing the buffer (stores into
  the pages backing the buffer).

git-svn-id: svn://svn.freebsd.org/base/stable/9@304617 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/sys/aio_fsync.2
lib/libc/sys/aio_read.2
lib/libc/sys/aio_write.2