mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-16 10:05:09 +00:00
parent
78b8651224
commit
c54004fcce
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
/* Bare-bones implementation of sbrk: just call memory.grow. */
|
/* Bare-bones implementation of sbrk: just call memory.grow. */
|
||||||
void *sbrk(intptr_t increment) {
|
void *sbrk(intptr_t increment) {
|
||||||
/* We only supprt page-size increments. */
|
/* We only support page-size increments. */
|
||||||
if (increment % PAGESIZE != 0) {
|
if (increment % PAGESIZE != 0) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user