1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
7 #define GO_SIG_DFL ((void*)SIG_DFL)
8 #define GO_SIG_IGN ((void*)SIG_IGN)
11 typedef siginfo_t Siginfo
;
13 typedef void *Siginfo
;
16 typedef void GoSighandler(int32
, Siginfo
*, void*, G
*);
17 void runtime_setsig(int32
, GoSighandler
*, bool);
18 GoSighandler
* runtime_getsig(int32
);
20 void runtime_sighandler(int32 sig
, Siginfo
*info
, void *context
, G
*gp
);
21 void runtime_raise(int32
);