diff mbox series

rt: Fix typos in comments in <aio.h>

Message ID 8a0cc3af-935f-f39b-e4d5-f335c7b8d0e1@jguk.org
State Committed
Delegated to: Arjun Shankar
Headers show
Series rt: Fix typos in comments in <aio.h> | expand

Commit Message

Jonny Grant Oct. 6, 2020, 8:51 p.m. UTC
Hello
This is my final patch for this file.


ChangeLog:

2020-10-06  Jonny Grant  <jg@jguk.org>

        * aio.h: Fix typos in comments.
diff mbox series

Patch

--- aio.h.orig	2020-10-05 21:46:23.354543383 +0100
+++ aio.h	2020-10-06 21:49:38.666161328 +0100
@@ -33,7 +33,7 @@ 
 /* 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 @@ 
 #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 @@ 
 
 
 #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 @@ 
 #endif
 
 
-/* Return values of cancelation function.  */
+/* Return values of the aio_cancel function.  */
 enum
 {
   AIO_CANCELED,