diff options
Diffstat (limited to 'src/runtime/defs_linux_amd64.go')
| -rw-r--r-- | src/runtime/defs_linux_amd64.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/runtime/defs_linux_amd64.go b/src/runtime/defs_linux_amd64.go index 9eb5646ca3..8144354d5a 100644 --- a/src/runtime/defs_linux_amd64.go +++ b/src/runtime/defs_linux_amd64.go @@ -263,3 +263,14 @@ type sockaddr_un struct { family uint16 path [108]byte } + +const __NEW_UTS_LEN = 64 + +type new_utsname struct { + sysname [__NEW_UTS_LEN + 1]byte + nodename [__NEW_UTS_LEN + 1]byte + release [__NEW_UTS_LEN + 1]byte + version [__NEW_UTS_LEN + 1]byte + machine [__NEW_UTS_LEN + 1]byte + domainname [__NEW_UTS_LEN + 1]byte +} |
