From: Jonny Grant <jg@jguk.org>
To: libc-alpha@sourceware.org
Subject: aio.h fix typos in comments
Date: Mon, 5 Oct 2020 22:15:35 +0100 [thread overview]
Message-ID: <091db9ff-32bc-60a0-d8d5-06b7c0713943@jguk.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 325 bytes --]
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
[-- Attachment #2: aio.h_patch_typos --]
[-- Type: text/plain, Size: 1314 bytes --]
--- 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. */
next reply other threads:[~2020-10-05 21:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-05 21:15 Jonny Grant [this message]
2020-10-06 13:12 ` Florian Weimer
2020-10-13 20:57 ` Jonny Grant
2020-10-19 9:09 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=091db9ff-32bc-60a0-d8d5-06b7c0713943@jguk.org \
--to=jg@jguk.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).