0011-man-Fix-typos.patch 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. From 716fe28caeefd07235413c309d316e9a92587e0c Mon Sep 17 00:00:00 2001
  2. From: Guillem Jover <guillem@hadrons.org>
  3. Date: Sat, 20 Jul 2019 21:18:09 +0200
  4. Subject: [PATCH libaio 11/28] man: Fix typos
  5. Signed-off-by: Guillem Jover <guillem@hadrons.org>
  6. Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
  7. ---
  8. man/io.3 | 2 +-
  9. man/io_fsync.3 | 4 ++--
  10. man/io_getevents.3 | 4 ++--
  11. man/io_prep_fsync.3 | 2 +-
  12. man/io_prep_pread.3 | 2 +-
  13. man/io_prep_pwrite.3 | 4 ++--
  14. man/io_queue_init.3 | 2 +-
  15. man/io_queue_release.3 | 2 +-
  16. man/io_queue_run.3 | 4 ++--
  17. man/io_queue_wait.3 | 2 +-
  18. man/io_set_callback.3 | 2 +-
  19. man/io_submit.3 | 2 +-
  20. 12 files changed, 16 insertions(+), 16 deletions(-)
  21. diff --git a/man/io.3 b/man/io.3
  22. index 7b8ab5e..bc529ea 100644
  23. --- a/man/io.3
  24. +++ b/man/io.3
  25. @@ -1,7 +1,7 @@
  26. .TH io 3 2002-09-12 "Linux 2.4" Linux IO"
  27. .SH NAME
  28. io \- Asynchronous IO
  29. -.SH SYNOPSYS
  30. +.SH SYNOPSIS
  31. .nf
  32. .B #include <errno.h>
  33. .sp
  34. diff --git a/man/io_fsync.3 b/man/io_fsync.3
  35. index 03c81bc..5400d41 100644
  36. --- a/man/io_fsync.3
  37. +++ b/man/io_fsync.3
  38. @@ -7,7 +7,7 @@
  39. .TH io_fsync 3 2002-09-12 "Linux 2.4" Linux AIO"
  40. .SH NAME
  41. io_fsync \- Synchronize a file's complete in-core state with that on disk
  42. -.SH SYNOPSYS
  43. +.SH SYNOPSIS
  44. .nf
  45. .B #include <errno.h>
  46. .sp
  47. @@ -58,7 +58,7 @@ referenced data outside of the program's accessible address space.
  48. .TP
  49. .B EINVAL
  50. .I ctx
  51. -refers to an unitialized aio context, the iocb pointed to by
  52. +refers to an uninitialized aio context, the iocb pointed to by
  53. .I iocbs
  54. contains an improperly initialized iocb,
  55. .TP
  56. diff --git a/man/io_getevents.3 b/man/io_getevents.3
  57. index 37e9f7a..95fa86e 100644
  58. --- a/man/io_getevents.3
  59. +++ b/man/io_getevents.3
  60. @@ -64,11 +64,11 @@ is analogous to the relationship between
  61. .BR select (2)
  62. and
  63. .BR pselect (2):
  64. -similar
  65. +similar to
  66. .BR pselect (2),
  67. .BR pgetevents ()
  68. allows an application to safely wait until either an aio completion
  69. -events happens or until a signal is caught.
  70. +event happens or until a signal is caught.
  71. .PP
  72. The following
  73. .BR io_pgetevents ()
  74. diff --git a/man/io_prep_fsync.3 b/man/io_prep_fsync.3
  75. index cf4ecff..0397172 100644
  76. --- a/man/io_prep_fsync.3
  77. +++ b/man/io_prep_fsync.3
  78. @@ -8,7 +8,7 @@
  79. .TH io_prep_fsync 3 2002-09-12 "Linux 2.4" Linux AIO"
  80. .SH NAME
  81. io_prep_fsync \- Synchronize a file's complete in-core state with that on disk
  82. -.SH SYNOPSYS
  83. +.SH SYNOPSIS
  84. .nf
  85. .B #include <errno.h>
  86. .br
  87. diff --git a/man/io_prep_pread.3 b/man/io_prep_pread.3
  88. index b32fe4c..3c28f61 100644
  89. --- a/man/io_prep_pread.3
  90. +++ b/man/io_prep_pread.3
  91. @@ -11,7 +11,7 @@
  92. .TH io_prep_pread 3 2002-09-12 "Linux 2.4" Linux AIO"
  93. .SH NAME
  94. io_prep_pread \- Set up asynchronous read
  95. -.SH SYNOPSYS
  96. +.SH SYNOPSIS
  97. .nf
  98. .B #include <errno.h>
  99. .sp
  100. diff --git a/man/io_prep_pwrite.3 b/man/io_prep_pwrite.3
  101. index 98b3a65..69479c2 100644
  102. --- a/man/io_prep_pwrite.3
  103. +++ b/man/io_prep_pwrite.3
  104. @@ -11,7 +11,7 @@
  105. .TH io_prep_pwrite 3 2002-09-12 "Linux 2.4" Linux AIO"
  106. .SH NAME
  107. io_prep_pwrite \- Set up iocb for asynchronous writes
  108. -.SH SYNOPSYS
  109. +.SH SYNOPSIS
  110. .nf
  111. .B #include <errno.h>
  112. .br
  113. @@ -31,7 +31,7 @@ struct iocb {
  114. };
  115. .fi
  116. .SH DESCRIPTION
  117. -io_prep_write is a convenicence function for setting up parallel writes.
  118. +io_prep_write is a convenience function for setting up parallel writes.
  119. The first
  120. .TP
  121. diff --git a/man/io_queue_init.3 b/man/io_queue_init.3
  122. index 666dfae..9c04b3f 100644
  123. --- a/man/io_queue_init.3
  124. +++ b/man/io_queue_init.3
  125. @@ -39,7 +39,7 @@ referenced data outside of the program's accessible address space.
  126. .I maxevents
  127. is <= 0 or
  128. .IR ctx
  129. -is an invalid memory locattion.
  130. +is an invalid memory location.
  131. .TP
  132. .B ENOSYS
  133. Not implemented.
  134. diff --git a/man/io_queue_release.3 b/man/io_queue_release.3
  135. index 6444aff..5c9ded1 100644
  136. --- a/man/io_queue_release.3
  137. +++ b/man/io_queue_release.3
  138. @@ -24,7 +24,7 @@ error is one of the Exxx values defined in the Errors section.
  139. .TP
  140. .B EINVAL
  141. .I ctx
  142. -refers to an unitialized aio context, the iocb pointed to by
  143. +refers to an uninitialized aio context, the iocb pointed to by
  144. .I iocbs
  145. contains an improperly initialized iocb,
  146. .TP
  147. diff --git a/man/io_queue_run.3 b/man/io_queue_run.3
  148. index b05851c..8e0691c 100644
  149. --- a/man/io_queue_run.3
  150. +++ b/man/io_queue_run.3
  151. @@ -14,7 +14,7 @@ io_queue_run \- Handle completed io requests
  152. .fi
  153. .SH DESCRIPTION
  154. .B io_queue_run
  155. -Attempts to read all the events events from
  156. +Attempts to read all the events from
  157. the completion queue for the aio_context specified by ctx_id.
  158. .SH "RETURN VALUES"
  159. May return
  160. @@ -28,7 +28,7 @@ referenced data outside of the program's accessible address space.
  161. .TP
  162. .B EINVAL
  163. .I ctx
  164. -refers to an unitialized aio context, the iocb pointed to by
  165. +refers to an uninitialized aio context, the iocb pointed to by
  166. .I iocbs
  167. contains an improperly initialized iocb.
  168. .TP
  169. diff --git a/man/io_queue_wait.3 b/man/io_queue_wait.3
  170. index fff8141..0cf0497 100644
  171. --- a/man/io_queue_wait.3
  172. +++ b/man/io_queue_wait.3
  173. @@ -34,7 +34,7 @@ referenced data outside of the program's accessible address space.
  174. .TP
  175. .B EINVAL
  176. .I ctx
  177. -refers to an unitialized aio context, the iocb pointed to by
  178. +refers to an uninitialized aio context, the iocb pointed to by
  179. .I iocbs
  180. contains an improperly initialized iocb.
  181. .TP
  182. diff --git a/man/io_set_callback.3 b/man/io_set_callback.3
  183. index 4ee4b05..3599e8c 100644
  184. --- a/man/io_set_callback.3
  185. +++ b/man/io_set_callback.3
  186. @@ -2,7 +2,7 @@
  187. .TH io_set_callback 3 2002-09-12 "Linux 2.4" Linux AIO"
  188. .SH NAME
  189. io_set_callback \- Set up io completion callback function
  190. -.SH SYNOPSYS
  191. +.SH SYNOPSIS
  192. .nf
  193. .B #include <errno.h>
  194. .br
  195. diff --git a/man/io_submit.3 b/man/io_submit.3
  196. index 76e68d1..3ae8721 100644
  197. --- a/man/io_submit.3
  198. +++ b/man/io_submit.3
  199. @@ -110,7 +110,7 @@ referenced data outside of the program's accessible address space.
  200. .TP
  201. .B EINVAL
  202. .I ctx
  203. -refers to an unitialized aio context, the iocb pointed to by
  204. +refers to an uninitialized aio context, the iocb pointed to by
  205. .I iocbs
  206. contains an improperly initialized iocb,
  207. .TP
  208. --
  209. 2.26.0.292.g33ef6b2f38