Files
KirkOS/user/include/mlibc/tests/bsd/sbrk.c
T
kaguya 9a9b91c940 user: implement mlibc as the libc, finally.
It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
2026-05-02 03:31:49 -04:00

12 lines
152 B
C

#include <assert.h>
#include <stdio.h>
#include <unistd.h>
int main() {
void *ret = sbrk(0);
assert(ret != (void *) -1);
assert(ret);
return 0;
}