github.com/akaros/go-akaros@v0.0.0-20181004170632-85005d477eab/src/runtime/os_openbsd.h (about) 1 // Copyright 2010 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. 4 5 6 typedef byte* kevent_udata; 7 8 struct sigaction; 9 10 void runtime·sigpanic(void); 11 12 void runtime·setitimer(int32, Itimerval*, Itimerval*); 13 void runtime·sigaction(int32, struct sigaction*, struct sigaction*); 14 void runtime·sigaltstack(SigaltstackT*, SigaltstackT*); 15 Sigset runtime·sigprocmask(int32, Sigset); 16 void runtime·unblocksignals(void); 17 int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr); 18 19 enum { 20 SS_DISABLE = 4, 21 SIG_BLOCK = 1, 22 SIG_UNBLOCK = 2, 23 SIG_SETMASK = 3, 24 NSIG = 33, 25 SI_USER = 0, 26 };