github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/internal/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 }