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