Updated core lib and did cleanup

Updated core with some path related functions and did some minor code cleanup.
Most of the standard library function is just a matter of copy what is there for the other BSDs.
This commit is contained in:
Andreas T Jonsson
2024-04-18 10:12:42 +02:00
parent 2055f2b933
commit 38640d5d9e
5 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ SIG_BLOCK :: 1
SIG_UNBLOCK :: 2
SIG_SETMASK :: 3
siginfo_t :: struct { si_pad: [128]c.char }
sigset_t :: struct { bits: [4]u32 }
siginfo_t :: struct { _: [128]u8 }
sigset_t :: struct { _: [4]u32 }
foreign libc {
@(link_name="__sigemptyset14") sigemptyset :: proc(set: ^sigset_t) -> c.int ---