runtime: testing runtime

This commit is contained in:
Li Jie
2025-02-14 17:18:13 +08:00
parent 66909b3000
commit 5329f28580
83 changed files with 3376 additions and 2061 deletions

View File

@@ -94,6 +94,9 @@ func Readlink(path *c.Char, buf c.Pointer, bufsize uintptr) int
//go:linkname Unlink C.unlink
func Unlink(path *c.Char) c.Int
//go:linkname Unlinkat C.unlinkat
func Unlinkat(dirfd c.Int, path *c.Char, flags c.Int) c.Int
//go:linkname Remove C.remove
func Remove(path *c.Char) c.Int