aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:14:58 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:14:58 +0100
commit196b364aaee197fa24bb9ef3363b6447df74bb02 (patch)
tree904b2660a4df082c020a67bb758e865aa8c533ca /util.h
parentm misc (diff)
downloadcoopgammad-f440d8513c1fb1dec3ae0251ef5ecf230c042ea2.tar.gz
coopgammad-f440d8513c1fb1dec3ae0251ef5ecf230c042ea2.tar.bz2
coopgammad-f440d8513c1fb1dec3ae0251ef5ecf230c042ea2.tar.xz
fix doc textHEAD1.3.3master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index 0901449..4d86c66 100644
--- a/util.h
+++ b/util.h
@@ -42,7 +42,7 @@ void *nread(int fd, size_t *restrict n);
* Not cancelled by `EINTR`
*
* @param fd The file descriptor
- * @param buf The buffer which shall be written to the fail
+ * @param buf The buffer which shall be written to the file
* @param n The size of the buffer
* @return The number of written bytes, less than `n`
* on error, cannot exceed `n`
@@ -50,7 +50,7 @@ void *nread(int fd, size_t *restrict n);
size_t nwrite(int fd, const void *restrict buf, size_t n);
/**
- * Perform a timed suspention of the process.
+ * Perform a timed suspension of the process.
* The process resumes when the timer expires,
* or when it is interrupted.
*