From 3ae251a204748a2f1c4c2af6c55e73d5e5159d0f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 24 Oct 2023 13:50:36 +0200 Subject: LibC: Allocate stdin, stdout, stderr on the heap so they can be closed with fclose --- userland/libc/crt0.s | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/crt0.s') diff --git a/userland/libc/crt0.s b/userland/libc/crt0.s index 05144d4..c950949 100644 --- a/userland/libc/crt0.s +++ b/userland/libc/crt0.s @@ -1,6 +1,7 @@ .global _start .extern main _start: + call _libc_setup call main mov %eax, %ebx mov $8, %eax -- cgit v1.2.3