aio.h fix typos in comments
Jonny Grant
jg@jguk.org
Mon Oct 5 21:15:35 GMT 2020
Hello
Would a patch be supported to fix these comments? I can go through the formal patch process if you would like me to.
Also fix the spelling mistake "desriptor" twice
, and "simultanious"
Also I removed "This implementation follows the one in Irix. "
Don't think it is relevant, at least now it isn't.
Thanks
Jonny
-------------- next part --------------
--- aio.h.orig 2020-10-05 21:46:23.354543383 +0100
+++ aio.h_fix_typos 2020-10-05 22:11:30.415180225 +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 customize 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_num; /* Number of expected simultaneous requests. */
int aio_locks; /* Not used. */
int aio_usedba; /* Not used. */
int aio_debug; /* Not used. */
More information about the Libc-alpha
mailing list