Source file
src/runtime/defs_netbsd.go
1
2
3
4
5
6
7
14
15
16
17 package runtime
18
19
30 import "C"
31
32 const (
33 EINTR = C.EINTR
34 EFAULT = C.EFAULT
35 EAGAIN = C.EAGAIN
36
37 O_WRONLY = C.O_WRONLY
38 O_NONBLOCK = C.O_NONBLOCK
39 O_CREAT = C.O_CREAT
40 O_TRUNC = C.O_TRUNC
41 O_CLOEXEC = C.O_CLOEXEC
42
43 PROT_NONE = C.PROT_NONE
44 PROT_READ = C.PROT_READ
45 PROT_WRITE = C.PROT_WRITE
46 PROT_EXEC = C.PROT_EXEC
47
48 MAP_ANON = C.MAP_ANON
49 MAP_PRIVATE = C.MAP_PRIVATE
50 MAP_FIXED = C.MAP_FIXED
51
52 MADV_DONTNEED = C.MADV_DONTNEED
53 MADV_FREE = C.MADV_FREE
54
55 SA_SIGINFO = C.SA_SIGINFO
56 SA_RESTART = C.SA_RESTART
57 SA_ONSTACK = C.SA_ONSTACK
58
59 SIGHUP = C.SIGHUP
60 SIGINT = C.SIGINT
61 SIGQUIT = C.SIGQUIT
62 SIGILL = C.SIGILL
63 SIGTRAP = C.SIGTRAP
64 SIGABRT = C.SIGABRT
65 SIGEMT = C.SIGEMT
66 SIGFPE = C.SIGFPE
67 SIGKILL = C.SIGKILL
68 SIGBUS = C.SIGBUS
69 SIGSEGV = C.SIGSEGV
70 SIGSYS = C.SIGSYS
71 SIGPIPE = C.SIGPIPE
72 SIGALRM = C.SIGALRM
73 SIGTERM = C.SIGTERM
74 SIGURG = C.SIGURG
75 SIGSTOP = C.SIGSTOP
76 SIGTSTP = C.SIGTSTP
77 SIGCONT = C.SIGCONT
78 SIGCHLD = C.SIGCHLD
79 SIGTTIN = C.SIGTTIN
80 SIGTTOU = C.SIGTTOU
81 SIGIO = C.SIGIO
82 SIGXCPU = C.SIGXCPU
83 SIGXFSZ = C.SIGXFSZ
84 SIGVTALRM = C.SIGVTALRM
85 SIGPROF = C.SIGPROF
86 SIGWINCH = C.SIGWINCH
87 SIGINFO = C.SIGINFO
88 SIGUSR1 = C.SIGUSR1
89 SIGUSR2 = C.SIGUSR2
90
91 FPE_INTDIV = C.FPE_INTDIV
92 FPE_INTOVF = C.FPE_INTOVF
93 FPE_FLTDIV = C.FPE_FLTDIV
94 FPE_FLTOVF = C.FPE_FLTOVF
95 FPE_FLTUND = C.FPE_FLTUND
96 FPE_FLTRES = C.FPE_FLTRES
97 FPE_FLTINV = C.FPE_FLTINV
98 FPE_FLTSUB = C.FPE_FLTSUB
99
100 BUS_ADRALN = C.BUS_ADRALN
101 BUS_ADRERR = C.BUS_ADRERR
102 BUS_OBJERR = C.BUS_OBJERR
103
104 SEGV_MAPERR = C.SEGV_MAPERR
105 SEGV_ACCERR = C.SEGV_ACCERR
106
107 ITIMER_REAL = C.ITIMER_REAL
108 ITIMER_VIRTUAL = C.ITIMER_VIRTUAL
109 ITIMER_PROF = C.ITIMER_PROF
110
111 EV_ADD = C.EV_ADD
112 EV_DELETE = C.EV_DELETE
113 EV_ENABLE = C.EV_ENABLE
114 EV_DISABLE = C.EV_DISABLE
115 EV_CLEAR = C.EV_CLEAR
116 EV_RECEIPT = 0
117 EV_ERROR = C.EV_ERROR
118 EV_EOF = C.EV_EOF
119 EVFILT_READ = C.EVFILT_READ
120 EVFILT_WRITE = C.EVFILT_WRITE
121 EVFILT_USER = C.EVFILT_USER
122
123 NOTE_TRIGGER = C.NOTE_TRIGGER
124 )
125
126 type Sigset C.sigset_t
127 type Siginfo C.struct__ksiginfo
128
129 type StackT C.stack_t
130
131 type Timespec C.struct_timespec
132 type Timeval C.struct_timeval
133 type Itimerval C.struct_itimerval
134
135 type McontextT C.mcontext_t
136 type UcontextT C.ucontext_t
137
138 type Kevent C.struct_kevent
139
View as plain text