LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2010 The Go Authors. All rights reserved. | 1 // Copyright 2010 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #define SIG_DFL ((void*)0) | |
6 #define SIG_IGN ((void*)1) | |
7 #define SIGHUP 1 | |
8 #define SS_DISABLE 4 | 5 #define SS_DISABLE 4 |
9 | 6 |
10 #define SIG_BLOCK 1 | 7 #define SIG_BLOCK 1 |
11 #define SIG_UNBLOCK 2 | 8 #define SIG_UNBLOCK 2 |
12 #define SIG_SETMASK 3 | 9 #define SIG_SETMASK 3 |
13 | 10 |
14 struct sigaction; | 11 struct sigaction; |
15 | 12 |
16 void runtime·raisesigpipe(void); | |
17 void runtime·setsig(int32, void(*)(int32, Siginfo*, void*, G*), bool); | |
18 void runtime·sigpanic(void); | 13 void runtime·sigpanic(void); |
19 | 14 |
20 void runtime·setitimer(int32, Itimerval*, Itimerval*); | 15 void runtime·setitimer(int32, Itimerval*, Itimerval*); |
21 void runtime·sigaction(int32, struct sigaction*, struct sigaction*); | 16 void runtime·sigaction(int32, struct sigaction*, struct sigaction*); |
22 void runtime·sigaltstack(Sigaltstack*, Sigaltstack*); | 17 void runtime·sigaltstack(Sigaltstack*, Sigaltstack*); |
23 void runtime·sighandler(int32 sig, Siginfo *info, void *context, G *gp); | |
24 Sigset runtime·sigprocmask(int32, Sigset); | 18 Sigset runtime·sigprocmask(int32, Sigset); |
25 int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr); | 19 int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr); |
26 | 20 |
27 #define NSIG 33 | 21 #define NSIG 33 |
28 #define SI_USER 0 | 22 #define SI_USER 0 |
LEFT | RIGHT |