kr/pty — pull request #16 by paulzhol (2014-03-14 15:23:20+00:00)
Title: Portable ioctl calls

Add _IOC macros (, ) for linux and bsd's, unify ioctl() calls.
FreeBSD: use modern pts(4) interface instead of the old pty(4) one.
Use cgo -godefs generated ztypes_GOOS_GOARCH.go approach as in the syscall package to handle native C types.