diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:56:09 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:56:09 +0100 |
| commit | b630bb2e32ca92750eeae568bf80bf9e1f659279 (patch) | |
| tree | 18c40de1eb556332bd5a16e3391b2757e367d093 /read-quickly.c | |
| parent | Update e-mail (diff) | |
| download | read-quickly-48dd34039a7235e1d92a526b8fe0069faf74a837.tar.gz read-quickly-48dd34039a7235e1d92a526b8fe0069faf74a837.tar.bz2 read-quickly-48dd34039a7235e1d92a526b8fe0069faf74a837.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'read-quickly.c')
| -rw-r--r-- | read-quickly.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/read-quickly.c b/read-quickly.c index acd52a6..b235160 100644 --- a/read-quickly.c +++ b/read-quickly.c @@ -35,7 +35,7 @@ /** - * The a word. + * A word. */ struct word { /** @@ -55,7 +55,7 @@ struct word { static const char *argv0; /** - * Have the terminal been resized? + * Has the terminal been resized? */ static volatile sig_atomic_t caught_sigwinch = 1; @@ -174,7 +174,7 @@ get_word_rate(void) /** - * Count the number of character in a string. + * Count the number of characters in a string. * * @param s The string. * @return The number of characters in `s`. @@ -450,7 +450,7 @@ main(int argc, char *argv[]) if (display_file(ttyfd, rate)) goto fail; - /* Restore terminal configurations. */ + /* Restore terminal configuration. */ tcsetattr(ttyfd, TCSAFLUSH, &saved_stty); fprintf(stdout, "\033[?25h\033[?1049l"); fflush(stdout); |
