public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Florian Weimer <fw@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] rt: Fix typos in comments in <aio.h> Date: Mon, 19 Oct 2020 09:09:10 +0000 (GMT) [thread overview] Message-ID: <20201019090910.824143858020@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0e6ee9c14385f13b8a1d0832a6c3e416b34b1f5d commit 0e6ee9c14385f13b8a1d0832a6c3e416b34b1f5d Author: Jonny Grant <jg@jguk.org> Date: Mon Oct 19 10:55:00 2020 +0200 rt: Fix typos in comments in <aio.h> Diff: --- rt/aio.h | 13 ++++++------- 1 file 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,
reply other threads:[~2020-10-19 9:09 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20201019090910.824143858020@sourceware.org \ --to=fw@sourceware.org \ --cc=glibc-cvs@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: linkBe 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).