Sign in
vanadium
/
third_party
/
dbb5fe0fc1b7633094059a8df820d007f613755e
/
.
/
go
/
src
/
github.com
/
kr
/
pty
/
ioctl.go
blob: 5b856e8711deac8e4d6f8b6bef7ed338b5513e76 [
file
] [
log
] [
blame
]
package pty
import "syscall"
func ioctl(fd, cmd, ptr uintptr) error {
_, _, e := syscall.Syscall(syscall.SYS_IOCTL, fd, cmd, ptr)
if e != 0 {
return e
}
return nil
}