summaryrefslogtreecommitdiff
path: root/libgo/syscalls/syscall_uname.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/syscalls/syscall_uname.go')
-rw-r--r--libgo/syscalls/syscall_uname.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgo/syscalls/syscall_uname.go b/libgo/syscalls/syscall_uname.go
new file mode 100644
index 000000000..955866c89
--- /dev/null
+++ b/libgo/syscalls/syscall_uname.go
@@ -0,0 +1,7 @@
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package syscall
+
+func libc_uname(buf *Utsname) (errno int) __asm__("uname")