aboutsummaryrefslogtreecommitdiffstats
path: root/src/string
diff options
context:
space:
mode:
Diffstat (limited to 'src/string')
-rw-r--r--src/string/mem/memccpy.c2
-rw-r--r--src/string/mem/memcmove.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/string/mem/memccpy.c b/src/string/mem/memccpy.c
index 18e423d..01b4a4b 100644
--- a/src/string/mem/memccpy.c
+++ b/src/string/mem/memccpy.c
@@ -28,7 +28,7 @@
* @param c The byte to stop at if encountered.
* @param size The maximum number of bytes to copy.
* @return `NULL` if `c` was not encountered, otherwise
- * the possition of `c` translated to `whither`,
+ * the position of `c` translated to `whither`,
* that is, the address of `whither` plus the
* number of copied characters; the address of
* one character passed the last written character.
diff --git a/src/string/mem/memcmove.c b/src/string/mem/memcmove.c
index 50ed1f9..ad10606 100644
--- a/src/string/mem/memcmove.c
+++ b/src/string/mem/memcmove.c
@@ -30,7 +30,7 @@
* @param c The byte to stop at if encountered.
* @param size The maximum number of bytes to copy.
* @return `NULL` if `c` was not encountered, otherwise
- * the possition of `c` translated to `whither`,
+ * the position of `c` translated to `whither`,
* that is, the address of `whither` plus the
* number of copied characters; the address of
* one character passed the last written character.