github.com/dolfly/pty@v1.2.1/ztypes_netbsd_32bit_int.go (about)

     1  //go:build (386 || amd64 || arm || arm64) && netbsd
     2  //+build netbsd
     3  //+build 386 amd64 arm arm64
     4  
     5  package pty
     6  
     7  type ptmget struct {
     8  	Cfd int32
     9  	Sfd int32
    10  	Cn  [1024]int8
    11  	Sn  [1024]int8
    12  }
    13  
    14  var (
    15  	ioctl_TIOCPTSNAME = 0x48087448
    16  	ioctl_TIOCGRANTPT = 0x20007447
    17  )