sys/posix: impl rest of linux, impl some of Windows

This commit is contained in:
Laytan Laats authored and flysand7 committed 2024-12-01 11:54:51 +11:00
1 parent 879771fe32
commit 49ddbd9b99
63 files changed
+1237 -789

No files matched your search

+1 -2
View File
@@ -1,3 +1,4 @@
#+build linux, darwin, netbsd, openbsd, freebsd
package posix
import "core:c"
@@ -77,6 +78,4 @@ when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS
ITIMER_VIRTUAL :: 1
ITIMER_PROF :: 2
} else {
#panic("posix is unimplemented for the current target")
}