~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

Viewing changes to src/pkg/runtime/os_openbsd.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-07-08 05:52:37 UTC
  • mfrom: (29.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130708055237-at01839e0hp8z3ni
Tags: 2:1.1-1ubuntu1
016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
// Use of this source code is governed by a BSD-style
3
3
// license that can be found in the LICENSE file.
4
4
 
5
 
#define SIG_DFL ((void*)0)
6
 
#define SIG_IGN ((void*)1)
 
5
#define SS_DISABLE 4
 
6
 
 
7
#define SIG_BLOCK 1
 
8
#define SIG_UNBLOCK 2
 
9
#define SIG_SETMASK 3
7
10
 
8
11
struct sigaction;
9
12
 
10
13
void    runtime·sigpanic(void);
 
14
 
 
15
void    runtime·setitimer(int32, Itimerval*, Itimerval*);
 
16
void    runtime·sigaction(int32, struct sigaction*, struct sigaction*);
11
17
void    runtime·sigaltstack(Sigaltstack*, Sigaltstack*);
12
 
void    runtime·sigaction(int32, struct sigaction*, struct sigaction*);
13
 
void    runtime·setsig(int32, void(*)(int32, Siginfo*, void*, G*), bool);
14
 
void    runtime·sighandler(int32 sig, Siginfo *info, void *context, G *gp);
15
 
void    runtime·setitimer(int32, Itimerval*, Itimerval*);
 
18
Sigset  runtime·sigprocmask(int32, Sigset);
16
19
int32   runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr);
17
20
 
18
 
void    runtime·raisesigpipe(void);
19
 
 
20
21
#define NSIG 33
21
22
#define SI_USER 0