File: ioctl.go

package info (click to toggle)
golang-pty 0.0~git20151007.0.f7ee69f-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 180 kB
  • ctags: 80
  • sloc: sh: 108; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
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
}