Skip to contentSkip to conversation

Missing word in aio.7

PATCH In review Denis Barbier 3 participants 4 messages Oct 6, 2010 – Oct 9, 2010 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hello,

Around line 120 of man7/aio.7:
This field specifies a value that is subtracted from the calling thread's real-time priority in order to determine the priority for execution of this I/O request. .BR pthread_setschedparam (3)).

Here is a patch
-determine the priority for execution of this I/O request. +determine the priority for execution of this I/O request (see but you may want to change punctuation.

Denis
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): AANLkTi=TgkncPeFgP8WTKnHn96Qm6xYK4mdLzumY6Vie-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw

PATCH 1/1 aio.7: Some minor typos (Was: Missing word in aio.7)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Please find inline a patch including Denis' proposal and two others spotted during translation, against current aio(7) manual page.

man7/aio.7 +0 -0
index e1d6d2b..5a0f734 100644

- --- a/man7/aio.7
+++ b/man7/aio.7
@@ -119,11 +119,11 @@ This is the size of the buffer pointed to by
.I aio_reqprio
This field specifies a value that is subtracted
from the calling thread's real-time priority in order to
- -determine the priority for execution of this I/O request. +determine the priority for execution of this I/O request (see .BR pthread_setschedparam (3)).
The specified value must be between 0 and the value returned by .IR sysconf(_SC_AIO_PRIO_DELTA_MAX) .
- -This field is ignored file synchronization operations. +This field is ignored during file synchronization operations. .TP
.I aio_sigevent
This field is a structure that specifies how the caller is
@@ -448,7 +448,7 @@ main(int argc, char *argv[])
.BR io_setup (2),
.BR io_cancel (2),
.BR io_destroy (2),
- -.BR io_getevents (2)),
+.BR io_getevents (2),
.BR aio_cancel (3),
.BR aio_error (3),
.BR aio_init (3),

Regards

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyt6rsACgkQ18/WetbTC/op/QCfeVh+YZBzATMWFT+IuMpxLIfh cpwAoI8YdhmQGszmVYipdT4U5aEUJvmb
=e8Tu
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Re: [patch] aio.7: Some minor typos (Was: Missing word in aio.7)

Hello David,

Quoted 28 lines · David Prévot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Please find inline a patch including Denis' proposal and two others spotted during translation, against current aio(7) manual page.

man7/aio.7 +1 -1
index e1d6d2b..5a0f734 100644
- --- a/man7/aio.7
+++ b/man7/aio.7
@@ -119,11 +119,11 @@ This is the size of the buffer pointed to by

 .I aio_reqprio
 This field specifies a value that is subtracted
 from the calling thread's real-time priority in order to
- -determine the priority for execution of this I/O request. +determine the priority for execution of this I/O request (see .BR pthread_setschedparam (3)).
 The specified value must be between 0 and the value returned by .IR sysconf(_SC_AIO_PRIO_DELTA_MAX) .
- -This field is ignored file synchronization operations. +This field is ignored during file synchronization operations. .TP
 .I aio_sigevent
 This field is a structure that specifies how the caller is

man7/aio.7 main(int argc, char *argv[]) · line 454

Quoted 8 lines
man7/aio.7 +1 -1
@@ -448,7 +448,7 @@ main(int argc, char *argv[])
  .BR io_setup (2),
  .BR io_cancel (2),
  .BR io_destroy (2),
- -.BR io_getevents (2)),
+.BR io_getevents (2),
  .BR aio_cancel (3),
  .BR aio_error (3),
  .BR aio_init (3),

I had already myself found and fixed the first two problems, but the third one I had missed. Thanks for the patch. Applied for 3.29.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
In reply to a message not in the archive

Hello Denis,

Quoted 11 lines · Denis Barbier

Hello,

Around line 120 of man7/aio.7:
 This field specifies a value that is subtracted from the calling thread's real-time priority in order to determine the priority for execution of this I/O request. .BR pthread_setschedparam (3)).

Here is a patch

(quoted diff) +1 -1
-determine the priority for execution of this I/O request.
+determine the priority for execution of this I/O request (see
Quoted 1 line

but you may want to change punctuation.

By chance, I had already caught and fixed this.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html