File: ioctl_darwin.go

package info (click to toggle)
golang-github-pkg-term 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 244 kB
  • sloc: makefile: 2
file content (10 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
package termios

const (
	_IOC_PARAM_SHIFT = 13
	_IOC_PARAM_MASK  = (1 << _IOC_PARAM_SHIFT) - 1
)

func _IOC_PARM_LEN(ioctl uintptr) uintptr {
	return (ioctl >> 16) & _IOC_PARAM_MASK
}