github.com/varialus/godfly@v0.0.0-20130904042352-1934f9f095ab/src/pkg/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  #define SS_DISABLE 4
     6  
     7  #define SIG_BLOCK 1
     8  #define SIG_UNBLOCK 2
     9  #define SIG_SETMASK 3
    10  
    11  typedef byte* kevent_udata;
    12  
    13  struct sigaction;
    14  
    15  void	runtime·sigpanic(void);
    16  
    17  void	runtime·setitimer(int32, Itimerval*, Itimerval*);
    18  void	runtime·sigaction(int32, struct sigaction*, struct sigaction*);
    19  void	runtime·sigaltstack(Sigaltstack*, Sigaltstack*);
    20  Sigset	runtime·sigprocmask(int32, Sigset);
    21  int32	runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr);
    22  
    23  #define	NSIG 33
    24  #define	SI_USER	0