summaryrefslogtreecommitdiff
path: root/src/runtime/linux/os.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-03-24 15:04:18 -0700
committerRuss Cox <rsc@golang.org>2009-03-24 15:04:18 -0700
commit54568208f5c893218268baede6f8d0868fa6af97 (patch)
tree3ecf5c330d15193f7f4aa3fdd55a3bd7152eecf2 /src/runtime/linux/os.h
parent30c27d9b1fa84d00f18845ff253e9f8293fbf918 (diff)
downloadgolang-54568208f5c893218268baede6f8d0868fa6af97.tar.gz
convert Linux to auto-generated defs.h
TBR=r OCL=26686 CL=26688
Diffstat (limited to 'src/runtime/linux/os.h')
-rw-r--r--src/runtime/linux/os.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/runtime/linux/os.h b/src/runtime/linux/os.h
new file mode 100644
index 000000000..c61619367
--- /dev/null
+++ b/src/runtime/linux/os.h
@@ -0,0 +1,10 @@
+// Copyright 2009 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.
+
+// Linux-specific system calls
+int64 futex(uint32*, int32, uint32, Timespec*, uint32*, uint32);
+int64 clone(int32, void*, M*, G*, void(*)(void));
+
+struct Sigaction;
+void rt_sigaction(int64, struct Sigaction*, void*, uint64);