github.com/gaukas/wazerofs@v0.1.0/sysfs/unlink_plan9.go (about) 1 package sysfs 2 3 import ( 4 "syscall" 5 6 "github.com/tetratelabs/wazero/experimental/sys" 7 ) 8 9 func unlink(name string) sys.Errno { 10 err := syscall.Remove(name) 11 return sys.UnwrapOSError(err) 12 }