vendor/golang.org/x/sys/unix/ztypes_linux_386.go
changeset 260 445e01aede7e
parent 256 6d9efbef00a9
child 265 05c40b36d3b2
equal deleted inserted replaced
259:db4911b0c721 260:445e01aede7e
     1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/linux/types.go | go run mkpost.go
     1 // cgo -godefs -objdir=/tmp/386/cgo -- -Wall -Werror -static -I/tmp/386/include -m32 linux/types.go | go run mkpost.go
     2 // Code generated by the command above; see README.md. DO NOT EDIT.
     2 // Code generated by the command above; see README.md. DO NOT EDIT.
     3 
     3 
     4 //go:build 386 && linux
     4 //go:build 386 && linux
     5 // +build 386,linux
     5 // +build 386,linux
     6 
     6 
   168 	Len   uint32
   168 	Len   uint32
   169 	Level int32
   169 	Level int32
   170 	Type  int32
   170 	Type  int32
   171 }
   171 }
   172 
   172 
       
   173 type ifreq struct {
       
   174 	Ifrn [16]byte
       
   175 	Ifru [16]byte
       
   176 }
       
   177 
   173 const (
   178 const (
   174 	SizeofSockaddrNFCLLCP = 0x58
   179 	SizeofSockaddrNFCLLCP = 0x58
   175 	SizeofIovec           = 0x8
   180 	SizeofIovec           = 0x8
   176 	SizeofMsghdr          = 0x1c
   181 	SizeofMsghdr          = 0x1c
   177 	SizeofCmsghdr         = 0xc
   182 	SizeofCmsghdr         = 0xc
   234 	Fd     int32
   239 	Fd     int32
   235 	Pad    int32
   240 	Pad    int32
   236 }
   241 }
   237 
   242 
   238 const (
   243 const (
       
   244 	OPEN_TREE_CLOEXEC = 0x80000
       
   245 )
       
   246 
       
   247 const (
   239 	POLLRDHUP = 0x2000
   248 	POLLRDHUP = 0x2000
   240 )
   249 )
   241 
   250 
   242 type Sigset_t struct {
   251 type Sigset_t struct {
   243 	Val [32]uint32
   252 	Val [32]uint32
   244 }
   253 }
   245 
   254 
   246 const _C__NSIG = 0x41
   255 const _C__NSIG = 0x41
       
   256 
       
   257 type Siginfo struct {
       
   258 	Signo int32
       
   259 	Errno int32
       
   260 	Code  int32
       
   261 	_     [116]byte
       
   262 }
   247 
   263 
   248 type Termios struct {
   264 type Termios struct {
   249 	Iflag  uint32
   265 	Iflag  uint32
   250 	Oflag  uint32
   266 	Oflag  uint32
   251 	Cflag  uint32
   267 	Cflag  uint32
   304 	Freepages_count           uint64
   320 	Freepages_count           uint64
   305 	Freepages_delay_total     uint64
   321 	Freepages_delay_total     uint64
   306 	Thrashing_count           uint64
   322 	Thrashing_count           uint64
   307 	Thrashing_delay_total     uint64
   323 	Thrashing_delay_total     uint64
   308 	Ac_btime64                uint64
   324 	Ac_btime64                uint64
       
   325 	Compact_count             uint64
       
   326 	Compact_delay_total       uint64
       
   327 	Ac_tgid                   uint32
       
   328 	_                         [4]byte
       
   329 	Ac_tgetime                uint64
       
   330 	Ac_exe_dev                uint64
       
   331 	Ac_exe_inode              uint64
       
   332 	Wpcopy_count              uint64
       
   333 	Wpcopy_delay_total        uint64
   309 }
   334 }
   310 
   335 
   311 type cpuMask uint32
   336 type cpuMask uint32
   312 
   337 
   313 const (
   338 const (
   628 	PPS_GETPARAMS = 0x800470a1
   653 	PPS_GETPARAMS = 0x800470a1
   629 	PPS_SETPARAMS = 0x400470a2
   654 	PPS_SETPARAMS = 0x400470a2
   630 	PPS_GETCAP    = 0x800470a3
   655 	PPS_GETCAP    = 0x800470a3
   631 	PPS_FETCH     = 0xc00470a4
   656 	PPS_FETCH     = 0xc00470a4
   632 )
   657 )
       
   658 
       
   659 const (
       
   660 	PIDFD_NONBLOCK = 0x800
       
   661 )
       
   662 
       
   663 type SysvIpcPerm struct {
       
   664 	Key  int32
       
   665 	Uid  uint32
       
   666 	Gid  uint32
       
   667 	Cuid uint32
       
   668 	Cgid uint32
       
   669 	Mode uint16
       
   670 	_    [2]uint8
       
   671 	Seq  uint16
       
   672 	_    uint16
       
   673 	_    uint32
       
   674 	_    uint32
       
   675 }
       
   676 type SysvShmDesc struct {
       
   677 	Perm       SysvIpcPerm
       
   678 	Segsz      uint32
       
   679 	Atime      uint32
       
   680 	Atime_high uint32
       
   681 	Dtime      uint32
       
   682 	Dtime_high uint32
       
   683 	Ctime      uint32
       
   684 	Ctime_high uint32
       
   685 	Cpid       int32
       
   686 	Lpid       int32
       
   687 	Nattch     uint32
       
   688 	_          uint32
       
   689 	_          uint32
       
   690 }