mirror of
https://github.com/slackhq/nebula.git
synced 2026-10-08 05:17:54 +02:00
14 lines
207 B
Go
14 lines
207 B
Go
//go: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
|
|
}
|