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