diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-02-15 00:14:28 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-02-15 00:14:28 +0800 |
commit | dcc045f03c7c933dcdc7302f0338cbbfef7398ea (patch) | |
tree | ca35ed20ae5c77dcdea6f14186a03141cb59a50e /vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go | |
parent | ba90a4aaa42428fc5f38c4869455db5a51565714 (diff) | |
download | go-tangerine-dcc045f03c7c933dcdc7302f0338cbbfef7398ea.tar go-tangerine-dcc045f03c7c933dcdc7302f0338cbbfef7398ea.tar.gz go-tangerine-dcc045f03c7c933dcdc7302f0338cbbfef7398ea.tar.bz2 go-tangerine-dcc045f03c7c933dcdc7302f0338cbbfef7398ea.tar.lz go-tangerine-dcc045f03c7c933dcdc7302f0338cbbfef7398ea.tar.xz go-tangerine-dcc045f03c7c933dcdc7302f0338cbbfef7398ea.tar.zst go-tangerine-dcc045f03c7c933dcdc7302f0338cbbfef7398ea.zip |
vendor: update syscalls dependency
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go | 48 |
1 files changed, 43 insertions, 5 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go index 9c3743561..1f0e76c0c 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go @@ -6,11 +6,11 @@ package unix const ( - sizeofPtr = 0x8 - sizeofShort = 0x2 - sizeofInt = 0x4 - sizeofLong = 0x8 - sizeofLongLong = 0x8 + SizeofPtr = 0x8 + SizeofShort = 0x2 + SizeofInt = 0x4 + SizeofLong = 0x8 + SizeofLongLong = 0x8 ) type ( @@ -103,6 +103,19 @@ type Fsid struct { X__fsid_val [2]int32 } +const ( + PathMax = 0x400 +) + +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + type RawSockaddrInet4 struct { Len uint8 Family uint8 @@ -396,6 +409,13 @@ type Winsize struct { Ypixel uint16 } +type Ptmget struct { + Cfd int32 + Sfd int32 + Cn [1024]byte + Sn [1024]byte +} + const ( AT_FDCWD = -0x64 AT_SYMLINK_NOFOLLOW = 0x200 @@ -432,3 +452,21 @@ type Sysctlnode struct { X_sysctl_parent [8]byte X_sysctl_desc [8]byte } + +type Utsname struct { + Sysname [256]byte + Nodename [256]byte + Release [256]byte + Version [256]byte + Machine [256]byte +} + +const SizeofClockinfo = 0x14 + +type Clockinfo struct { + Hz int32 + Tick int32 + Tickadj int32 + Stathz int32 + Profhz int32 +} |