gotosocial/vendor/github.com/tetratelabs/wazero/internal/sysfs/unlink_plan9.go

13 lines
188 B
Go
Raw Normal View History

package sysfs
import (
"syscall"
"github.com/tetratelabs/wazero/experimental/sys"
)
func unlink(name string) sys.Errno {
err := syscall.Remove(name)
return sys.UnwrapOSError(err)
}