// Copyright 2013 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.#include <signal.h>#define GO_SIG_DFL ((void*)SIG_DFL)#define GO_SIG_IGN ((void*)SIG_IGN)#ifdef SA_SIGINFOtypedefsiginfo_tSiginfo;#elsetypedefvoid*Siginfo;#endiftypedefvoidGoSighandler(int32,Siginfo*,void*,G*);voidruntime_setsig(int32,GoSighandler*,bool);GoSighandler*runtime_getsig(int32);voidruntime_sighandler(int32sig,Siginfo*info,void*context,G*gp);voidruntime_raise(int32);