runtime/internal/lib/os: fix readdir for darwin-amd64

This commit is contained in:
visualfc
2025-08-26 17:15:43 +08:00
parent cf2d1ef9ca
commit 69fe6d6377
8 changed files with 76 additions and 32 deletions

View File

@@ -11,3 +11,6 @@ func Stat(path *c.Char, buf *StatT) c.Int
//go:linkname Lstat C.lstat64
func Lstat(path *c.Char, buf *StatT) c.Int
//go:linkname Fstat C.fstat64
func Fstat(fd c.Int, buf *StatT) c.Int