summaryrefslogtreecommitdiff
path: root/src/lib/runtime/linux/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/runtime/linux/os.h')
-rw-r--r--src/lib/runtime/linux/os.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/runtime/linux/os.h b/src/lib/runtime/linux/os.h
new file mode 100644
index 000000000..c61619367
--- /dev/null
+++ b/src/lib/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);