diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-18 07:43:41 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-18 07:43:41 +0100 |
commit | 406984648d4184fcf396cebadb39c31ca3dbdd69 (patch) | |
tree | 945910856bb198ac7943ab04561aa9959c2da826 /include | |
parent | fix errors (diff) | |
download | slibc-406984648d4184fcf396cebadb39c31ca3dbdd69.tar.gz slibc-406984648d4184fcf396cebadb39c31ca3dbdd69.tar.bz2 slibc-406984648d4184fcf396cebadb39c31ca3dbdd69.tar.xz |
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/malloc.h | 2 | ||||
-rw-r--r-- | include/wchar.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/malloc.h b/include/malloc.h index d6f0be5..2b2748b 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -103,7 +103,7 @@ void* mallocz(size_t, int) * Variant of `malloc` that clears the allocation with zeroes. * * `zalloc(n)` is equivalent to `calloc(1, n)`, or equivalently, - * `calloc(n, m)` is equivalent to `zalloc(n * m)` assumming `n * m` + * `calloc(n, m)` is equivalent to `zalloc(n * m)` assuming `n * m` * does not overflow (in which case `calloc(n, m)` returns `ENOMEM`.) * * This is a klibc extension. diff --git a/include/wchar.h b/include/wchar.h index 5223d3f..b705510 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -153,7 +153,7 @@ wchar_t* wmempmove(wchar_t*, const wchar_t*, size_t); * @param c The character to stop at if encountered. * @param size The maximum number of wide characters 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. @@ -171,7 +171,7 @@ wchar_t* wmemccpy(wchar_t* restrict, const wchar_t* restrict, wchar_t, size_t); * @param c The character to stop at if encountered. * @param size The maximum number of wide characters 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. |