nebula/overlay/tun_notwin.go
2023-06-22 12:13:31 -04:00

14 lines
226 B
Go

//go:build !windows
// +build !windows
package overlay
import "syscall"
func ioctl(a1, a2, a3 uintptr) error {
_, _, errno := syscall.Syscall(syscall.SYS_IOCTL, a1, a2, a3)
if errno != 0 {
return errno
}
return nil
}