From 54568208f5c893218268baede6f8d0868fa6af97 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 24 Mar 2009 15:04:18 -0700 Subject: convert Linux to auto-generated defs.h TBR=r OCL=26686 CL=26688 --- src/runtime/linux/os.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/runtime/linux/os.h (limited to 'src/runtime/linux/os.h') 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); -- cgit v1.2.3