Drop link to moby fork

This commit is contained in:
Ettore Di Giacinto
2021-10-24 17:16:36 +02:00
parent c897bffdfc
commit 67a07e7c5a
116 changed files with 8027 additions and 3184 deletions

20
vendor/github.com/moby/term/tc.go generated vendored Normal file
View File

@@ -0,0 +1,20 @@
// +build !windows
package term // import "github.com/moby/term"
import (
"syscall"
"unsafe"
"golang.org/x/sys/unix"
)
func tcget(fd uintptr, p *Termios) syscall.Errno {
_, _, err := unix.Syscall(unix.SYS_IOCTL, fd, uintptr(getTermios), uintptr(unsafe.Pointer(p)))
return err
}
func tcset(fd uintptr, p *Termios) syscall.Errno {
_, _, err := unix.Syscall(unix.SYS_IOCTL, fd, setTermios, uintptr(unsafe.Pointer(p)))
return err
}