From d91ef01a7ab8c00b9a068e14669dc19c4f2539ec Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Sun, 13 Aug 2017 20:36:23 +0200
Subject: [PATCH libaio v2 10/15] man: Fix typos

Signed-off-by: Guillem Jover <guillem@hadrons.org>
---
 man/io.3               | 2 +-
 man/io_fsync.3         | 4 ++--
 man/io_getevents.3     | 4 ++--
 man/io_prep_fsync.3    | 2 +-
 man/io_prep_pread.3    | 2 +-
 man/io_prep_pwrite.3   | 4 ++--
 man/io_queue_init.3    | 2 +-
 man/io_queue_release.3 | 2 +-
 man/io_queue_run.3     | 4 ++--
 man/io_queue_wait.3    | 2 +-
 man/io_set_callback.3  | 2 +-
 man/io_submit.3        | 2 +-
 12 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/man/io.3 b/man/io.3
index 7b8ab5e..bc529ea 100644
--- a/man/io.3
+++ b/man/io.3
@@ -1,7 +1,7 @@
 .TH io 3 2002-09-12 "Linux 2.4" Linux IO"
 .SH NAME
 io \- Asynchronous IO
-.SH SYNOPSYS
+.SH SYNOPSIS
 .nf
 .B #include <errno.h>
 .sp
diff --git a/man/io_fsync.3 b/man/io_fsync.3
index 03c81bc..5400d41 100644
--- a/man/io_fsync.3
+++ b/man/io_fsync.3
@@ -7,7 +7,7 @@
 .TH io_fsync 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_fsync \- Synchronize a file's complete in-core state with that on disk
-.SH SYNOPSYS
+.SH SYNOPSIS
 .nf
 .B #include <errno.h>
 .sp
@@ -58,7 +58,7 @@ referenced data outside of the program's accessible address space.
 .TP
 .B EINVAL
 .I ctx
-refers to an unitialized aio context, the iocb pointed to by 
+refers to an uninitialized aio context, the iocb pointed to by
 .I iocbs
 contains an improperly initialized iocb, 
 .TP
diff --git a/man/io_getevents.3 b/man/io_getevents.3
index 37e9f7a..95fa86e 100644
--- a/man/io_getevents.3
+++ b/man/io_getevents.3
@@ -64,11 +64,11 @@ is analogous to the relationship between
 .BR select (2)
 and
 .BR pselect (2):
-similar
+similar to
 .BR pselect (2),
 .BR pgetevents ()
 allows an application to safely wait until either an aio completion
-events happens or until a signal is caught.
+event happens or until a signal is caught.
 .PP
 The following
 .BR io_pgetevents ()
diff --git a/man/io_prep_fsync.3 b/man/io_prep_fsync.3
index cf4ecff..0397172 100644
--- a/man/io_prep_fsync.3
+++ b/man/io_prep_fsync.3
@@ -8,7 +8,7 @@
 .TH io_prep_fsync 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_prep_fsync \- Synchronize a file's complete in-core state with that on disk
-.SH SYNOPSYS
+.SH SYNOPSIS
 .nf
 .B #include <errno.h>
 .br
diff --git a/man/io_prep_pread.3 b/man/io_prep_pread.3
index b32fe4c..3c28f61 100644
--- a/man/io_prep_pread.3
+++ b/man/io_prep_pread.3
@@ -11,7 +11,7 @@
 .TH io_prep_pread 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_prep_pread \- Set up asynchronous read
-.SH SYNOPSYS
+.SH SYNOPSIS
 .nf
 .B #include <errno.h>
 .sp
diff --git a/man/io_prep_pwrite.3 b/man/io_prep_pwrite.3
index 98b3a65..69479c2 100644
--- a/man/io_prep_pwrite.3
+++ b/man/io_prep_pwrite.3
@@ -11,7 +11,7 @@
 .TH io_prep_pwrite 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_prep_pwrite \- Set up iocb for asynchronous writes
-.SH SYNOPSYS
+.SH SYNOPSIS
 .nf
 .B #include <errno.h>
 .br
@@ -31,7 +31,7 @@ struct iocb {
 };
 .fi
 .SH DESCRIPTION
-io_prep_write is a convenicence function for setting up parallel writes.
+io_prep_write is a convenience function for setting up parallel writes.
 
 The first
 .TP
diff --git a/man/io_queue_init.3 b/man/io_queue_init.3
index 666dfae..9c04b3f 100644
--- a/man/io_queue_init.3
+++ b/man/io_queue_init.3
@@ -39,7 +39,7 @@ referenced data outside of the program's accessible address space.
 .I maxevents
 is <= 0 or 
 .IR ctx
-is an invalid memory locattion.
+is an invalid memory location.
 .TP
 .B ENOSYS 
 Not implemented.
diff --git a/man/io_queue_release.3 b/man/io_queue_release.3
index 6444aff..5c9ded1 100644
--- a/man/io_queue_release.3
+++ b/man/io_queue_release.3
@@ -24,7 +24,7 @@ error is one of the Exxx values defined in the Errors section.
 .TP
 .B EINVAL
 .I ctx 
-refers to an unitialized aio context, the iocb pointed to by
+refers to an uninitialized aio context, the iocb pointed to by
 .I iocbs 
 contains an improperly initialized iocb,
 .TP
diff --git a/man/io_queue_run.3 b/man/io_queue_run.3
index b05851c..8e0691c 100644
--- a/man/io_queue_run.3
+++ b/man/io_queue_run.3
@@ -14,7 +14,7 @@ io_queue_run \- Handle completed io requests
 .fi
 .SH DESCRIPTION
 .B io_queue_run
-Attempts to read all the events events from
+Attempts to read all the events from
 the completion queue for the aio_context specified by ctx_id.
 .SH "RETURN VALUES"
 May return
@@ -28,7 +28,7 @@ referenced data outside of the program's accessible address space.
 .TP
 .B EINVAL
 .I ctx 
-refers to an unitialized aio context, the iocb pointed to by
+refers to an uninitialized aio context, the iocb pointed to by
 .I iocbs 
 contains an improperly initialized iocb.
 .TP
diff --git a/man/io_queue_wait.3 b/man/io_queue_wait.3
index fff8141..0cf0497 100644
--- a/man/io_queue_wait.3
+++ b/man/io_queue_wait.3
@@ -34,7 +34,7 @@ referenced data outside of the program's accessible address space.
 .TP
 .B EINVAL
 .I ctx 
-refers to an unitialized aio context, the iocb pointed to by
+refers to an uninitialized aio context, the iocb pointed to by
 .I iocbs 
 contains an improperly initialized iocb.
 .TP
diff --git a/man/io_set_callback.3 b/man/io_set_callback.3
index 4ee4b05..3599e8c 100644
--- a/man/io_set_callback.3
+++ b/man/io_set_callback.3
@@ -2,7 +2,7 @@
 .TH io_set_callback 3 2002-09-12 "Linux 2.4" Linux AIO"
 .SH NAME
 io_set_callback \- Set up io completion callback function
-.SH SYNOPSYS
+.SH SYNOPSIS
 .nf
 .B #include <errno.h>
 .br
diff --git a/man/io_submit.3 b/man/io_submit.3
index 76e68d1..3ae8721 100644
--- a/man/io_submit.3
+++ b/man/io_submit.3
@@ -110,7 +110,7 @@ referenced data outside of the program's accessible address space.
 .TP
 .B EINVAL
 .I ctx
-refers to an unitialized aio context, the iocb pointed to by 
+refers to an uninitialized aio context, the iocb pointed to by
 .I iocbs
 contains an improperly initialized iocb, 
 .TP
-- 
2.22.0.657.g960e92d24f

