From 8257be5f9d4a4bdbb0ff096756a0e48401d620c8 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 6 Jun 2009 22:04:39 -0700 Subject: move src/runtime -> src/lib/runtime; only automatic g4 mv here. R=r OCL=30002 CL=30007 --- src/lib/runtime/linux/os.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/lib/runtime/linux/os.h (limited to 'src/lib/runtime/linux/os.h') 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); -- cgit v1.2.3