Add POSIX dirent struct for Linux.

This commit is contained in:
Isaac Andrade committed 2024-08-23 19:56:45 -06:00
1 parent 1adea2f4d6
commit 90aa7dff04
4 files changed
+30 -1

No files matched your search

+3
View File
@@ -410,6 +410,9 @@ when ODIN_OS == .Darwin {
l_whence: c.short, /* [PSX] flag (Whence) of starting offset */
}
} else when ODIN_OS == .Linux {
off_t :: distinct c.uint64_t
off_t32 :: distinct c.uint32_t
} else {
#panic("posix is unimplemented for the current target")
}