1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// +build ignore package pty /* #define _KERNEL #include <sys/conf.h> #include <sys/param.h> #include <sys/filio.h> */ import "C" const ( _C_SPECNAMELEN = C.SPECNAMELEN /* max length of devicename */ ) type fiodgnameArg C.struct_fiodname_args