mirror of
https://github.com/yudai/gotty.git
synced 2026-02-25 09:24:08 +01:00
switched to go-mod, updated codegangsta/cli -> urfave/cli
This commit is contained in:
parent
a080c85cbc
commit
f0fe6d57fd
466 changed files with 248599 additions and 5024 deletions
13
vendor/github.com/creack/pty/ioctl.go
generated
vendored
Normal file
13
vendor/github.com/creack/pty/ioctl.go
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// +build !windows,!solaris
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue