619afe25da
@update > CMakeLists.txt | remove casiowin-* target (unused) | remove x86-generic target (unused) | update files location | remove old vhex sources files (deprecated, unused) > src/posix | remove this folder > src/libc | move its content to src/ | remove thread module > src/stdlib/reallocarray | check if the multiplication overflow failed | set appropriate errno value if multiplication failed
9 lines
140 B
C
9 lines
140 B
C
#include <stdlib.h>
|
|
|
|
extern void *krealloc(void *ptr, size_t size);
|
|
|
|
void *realloc(void *ptr, size_t size)
|
|
{
|
|
return krealloc(ptr, size);
|
|
}
|