]> CyberLeo.Net >> Repos - FreeBSD/stable/10.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)
commit9604b0d447d8c0d063348849ec6c2d2c8740f0c6
tree16a90e47f163e207b45a7c9f6601417bec804b1d
parent1c24b229d5585c452ab13cbd52eb4ff0b7061959
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/10@304617 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/sys/aio_fsync.2
lib/libc/sys/aio_mlock.2
lib/libc/sys/aio_read.2
lib/libc/sys/aio_write.2