mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-07-05 12:14:31 +08:00
13 lines
227 B
Go
13 lines
227 B
Go
// +build !windows,!solaris
|
|
|
|
package termios
|
|
|
|
import "syscall"
|
|
|
|
func ioctl(fd, request, argp uintptr) error {
|
|
if _, _, e := syscall.Syscall6(syscall.SYS_IOCTL, fd, request, argp, 0, 0, 0); e != 0 {
|
|
return e
|
|
}
|
|
return nil
|
|
}
|