mirror of
https://github.com/slackhq/nebula.git
synced 2024-11-10 17:24:37 +08:00
14 lines
226 B
Go
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
|
|
}
|