syscall: Stat_t for js/wasip1

This commit is contained in:
visualfc
2025-06-05 14:53:28 +08:00
parent 87c7b65223
commit dade77d719
5 changed files with 138 additions and 11 deletions

View File

@@ -310,14 +310,3 @@ func hasPrefix(s, prefix string) bool {
func hasSuffix(s, suffix string) bool {
return len(s) >= len(suffix) && s[len(s)-len(suffix):] == suffix
}
type Stat_t struct {
Dev uint64
Ino uint64
Filetype uint8
Nlink uint64
Size uint64
Atime uint64
Mtime uint64
Ctime uint64
}