xs/xsnet/net_linux.go

14 lines
160 B
Go
Raw Normal View History

//go:build linux
// +build linux
package xsnet
import (
"syscall"
)
func (hc *Conn) kill() {
syscall.Kill(hc.Pproc, syscall.SIGABRT) //nolint:errcheck
}