diff options
author | Felix Lange <fjl@twurst.com> | 2016-08-30 18:20:34 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-08-30 18:20:34 +0800 |
commit | 3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96 (patch) | |
tree | 596d8881580b2812d4a65e50ea14962cbea8334a /Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_ppc64.go | |
parent | 969008dbb007bb3f05dd6f66b5a91cb38c21ab54 (diff) | |
download | go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.gz go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.bz2 go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.lz go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.xz go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.tar.zst go-tangerine-3b75d0ce2373c6e6da9af5f341d2d0aae0b4ed96.zip |
Godeps: update golang.org/x/...
Diffstat (limited to 'Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_ppc64.go')
-rw-r--r-- | Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_ppc64.go | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_ppc64.go index b14cbfef0..4218170a9 100644 --- a/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_ppc64.go +++ b/Godeps/_workspace/src/golang.org/x/sys/unix/ztypes_linux_ppc64.go @@ -201,6 +201,12 @@ type RawSockaddrNetlink struct { Groups uint32 } +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + type RawSockaddr struct { Family uint16 Data [14]uint8 @@ -325,6 +331,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 SizeofLinger = 0x8 SizeofIPMreq = 0x8 SizeofIPMreqn = 0xc @@ -582,17 +589,39 @@ type Ustat_t struct { } type EpollEvent struct { - Events uint32 - Fd int32 - Pad int32 + Events uint32 + X_padFd int32 + Fd int32 + Pad int32 } const ( AT_FDCWD = -0x64 AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 AT_SYMLINK_NOFOLLOW = 0x100 ) +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + type Termios struct { Iflag uint32 Oflag uint32 |