about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonny Grant <jg@jguk.org>2020-10-19 10:55:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-10-19 10:55:00 +0200
commit0e6ee9c14385f13b8a1d0832a6c3e416b34b1f5d (patch)
treeec1cd39f3a49d4f0b7d334619f7b28a7107260d0
parent7449320983b664aba506d7674ea0ce142dd3d4ed (diff)
downloadglibc-0e6ee9c14385f13b8a1d0832a6c3e416b34b1f5d.tar.gz
glibc-0e6ee9c14385f13b8a1d0832a6c3e416b34b1f5d.tar.xz
glibc-0e6ee9c14385f13b8a1d0832a6c3e416b34b1f5d.zip
rt: Fix typos in comments in <aio.h>
-rw-r--r--rt/aio.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/rt/aio.h b/rt/aio.h
index 2bbcc6adc7..148d31a0af 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -33,7 +33,7 @@ __BEGIN_DECLS
 /* Asynchronous I/O control block.  */
 struct aiocb
 {
-  int aio_fildes;		/* File desriptor.  */
+  int aio_fildes;		/* File descriptor.  */
   int aio_lio_opcode;		/* Operation to be performed.  */
   int aio_reqprio;		/* Request priority offset.  */
   volatile void *aio_buf;	/* Location of buffer.  */
@@ -61,7 +61,7 @@ struct aiocb
 #ifdef __USE_LARGEFILE64
 struct aiocb64
 {
-  int aio_fildes;		/* File desriptor.  */
+  int aio_fildes;		/* File descriptor.  */
   int aio_lio_opcode;		/* Operation to be performed.  */
   int aio_reqprio;		/* Request priority offset.  */
   volatile void *aio_buf;	/* Location of buffer.  */
@@ -82,12 +82,11 @@ struct aiocb64
 
 
 #ifdef __USE_GNU
-/* To customize the implementation one can use the following struct.
-   This implementation follows the one in Irix.  */
+/* To optimize the implementation one can use the following struct.  */
 struct aioinit
   {
-    int aio_threads;		/* Maximal number of threads.  */
-    int aio_num;		/* Number of expected simultanious requests. */
+    int aio_threads;		/* Maximum number of threads.  */
+    int aio_num;		/* Number of expected simultaneous requests.  */
     int aio_locks;		/* Not used.  */
     int aio_usedba;		/* Not used.  */
     int aio_debug;		/* Not used.  */
@@ -99,7 +98,7 @@ struct aioinit
 #endif
 
 
-/* Return values of cancelation function.  */
+/* Return values of the aio_cancel function.  */
 enum
 {
   AIO_CANCELED,