patch os: File.Write

This commit is contained in:
xushiwei
2024-06-25 18:07:58 +08:00
parent 207c41581c
commit d64d220b49
5 changed files with 804 additions and 57 deletions

View File

@@ -48,11 +48,11 @@ func (e *LinkError) Unwrap() error {
}
func toMode(mode FileMode) os.ModeT {
panic("todo")
panic("todo: toMode")
}
func toSyscallErr(errno c.Int) error {
panic("todo")
panic("todo: toSyscallErr")
}
func toPathErr(op, path string, errno c.Int) error {