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

     1  //go:build ignore
     2  //+build ignore
     3  
     4  package pty
     5  
     6  /*
     7  #include <sys/time.h>
     8  #include <stdlib.h>
     9  #include <sys/tty.h>
    10  */
    11  import "C"
    12  
    13  type ptmget C.struct_ptmget
    14  
    15  var (
    16  	ioctl_TIOCPTSNAME = C.TIOCPTSNAME
    17  	ioctl_TIOCGRANTPT = C.TIOCGRANTPT
    18  )