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