mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/oneway-malloc: fix typos
This commit is contained in:
parent
d4f3747705
commit
a49acc9b3e
@ -47,12 +47,12 @@ void *malloc(size_t size);
|
||||
|
||||
/**
|
||||
* @brief Allocated a new block of memory and move the existing content.
|
||||
* @details This function allocates a new block of memory and memcpy()s the content of the ond `ptr` there.
|
||||
* @details This function allocates a new block of memory and memcpy()s the content of the one `ptr` there.
|
||||
*
|
||||
* We do not know the size of the old block, so illegal reads would be likely,
|
||||
* if it was not for the fact that the memory heap up.
|
||||
* @param[in] ptr Old memory block that was allocated with malloc(), calloc() or realloc().
|
||||
* @param[in] size Size of the new block to allocted in bytes.
|
||||
* @param[in] size Size of the new block to allocated in bytes.
|
||||
* @returns The new memory block. `NULL` if the "heap" is exhausted.
|
||||
*/
|
||||
void *realloc(void *ptr, size_t size);
|
||||
|
Loading…
Reference in New Issue
Block a user