Add POSIX dirent struct for Linux.

This commit is contained in:
Isaac Andrade
2024-08-23 19:56:45 -06:00
parent 1adea2f4d6
commit 90aa7dff04
4 changed files with 30 additions and 1 deletions
+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")
}