Source file
src/runtime/defs_openbsd.go
1
2
3
4
5
6
7
16
17 package runtime
18
19
31 import "C"
32
33 const (
34 EINTR = C.EINTR
35 EFAULT = C.EFAULT
36 EAGAIN = C.EAGAIN
37 ENOSYS = C.ENOSYS
38
39 O_NONBLOCK = C.O_NONBLOCK
40 O_CLOEXEC = C.O_CLOEXEC
41
42 PROT_NONE = C.PROT_NONE
43 PROT_READ = C.PROT_READ
44 PROT_WRITE = C.PROT_WRITE
45 PROT_EXEC = C.PROT_EXEC
46
47 MAP_ANON = C.MAP_ANON
48 MAP_PRIVATE = C.MAP_PRIVATE
49 MAP_FIXED = C.MAP_FIXED
50 MAP_STACK = C.MAP_STACK
51
52 MADV_FREE = C.MADV_FREE
53
54 SA_SIGINFO = C.SA_SIGINFO
55 SA_RESTART = C.SA_RESTART
56 SA_ONSTACK = C.SA_ONSTACK
57
58 PTHREAD_CREATE_DETACHED = C.PTHREAD_CREATE_DETACHED
59
60 F_SETFD = C.F_SETFD
61 F_GETFL = C.F_GETFL
62 F_SETFL = C.F_SETFL
63 FD_CLOEXEC = C.FD_CLOEXEC
64
65 SIGHUP = C.SIGHUP
66 SIGINT = C.SIGINT
67 SIGQUIT = C.SIGQUIT
68 SIGILL = C.SIGILL
69 SIGTRAP = C.SIGTRAP
70 SIGABRT = C.SIGABRT
71 SIGEMT = C.SIGEMT
72 SIGFPE = C.SIGFPE
73 SIGKILL = C.SIGKILL
74 SIGBUS = C.SIGBUS
75 SIGSEGV = C.SIGSEGV
76 SIGSYS = C.SIGSYS
77 SIGPIPE = C.SIGPIPE
78 SIGALRM = C.SIGALRM
79 SIGTERM = C.SIGTERM
80 SIGURG = C.SIGURG
81 SIGSTOP = C.SIGSTOP
82 SIGTSTP = C.SIGTSTP
83 SIGCONT = C.SIGCONT
84 SIGCHLD = C.SIGCHLD
85 SIGTTIN = C.SIGTTIN
86 SIGTTOU = C.SIGTTOU
87 SIGIO = C.SIGIO
88 SIGXCPU = C.SIGXCPU
89 SIGXFSZ = C.SIGXFSZ
90 SIGVTALRM = C.SIGVTALRM
91 SIGPROF = C.SIGPROF
92 SIGWINCH = C.SIGWINCH
93 SIGINFO = C.SIGINFO
94 SIGUSR1 = C.SIGUSR1
95 SIGUSR2 = C.SIGUSR2
96
97 FPE_INTDIV = C.FPE_INTDIV
98 FPE_INTOVF = C.FPE_INTOVF
99 FPE_FLTDIV = C.FPE_FLTDIV
100 FPE_FLTOVF = C.FPE_FLTOVF
101 FPE_FLTUND = C.FPE_FLTUND
102 FPE_FLTRES = C.FPE_FLTRES
103 FPE_FLTINV = C.FPE_FLTINV
104 FPE_FLTSUB = C.FPE_FLTSUB
105
106 BUS_ADRALN = C.BUS_ADRALN
107 BUS_ADRERR = C.BUS_ADRERR
108 BUS_OBJERR = C.BUS_OBJERR
109
110 SEGV_MAPERR = C.SEGV_MAPERR
111 SEGV_ACCERR = C.SEGV_ACCERR
112
113 ITIMER_REAL = C.ITIMER_REAL
114 ITIMER_VIRTUAL = C.ITIMER_VIRTUAL
115 ITIMER_PROF = C.ITIMER_PROF
116
117 EV_ADD = C.EV_ADD
118 EV_DELETE = C.EV_DELETE
119 EV_CLEAR = C.EV_CLEAR
120 EV_ERROR = C.EV_ERROR
121 EV_EOF = C.EV_EOF
122 EVFILT_READ = C.EVFILT_READ
123 EVFILT_WRITE = C.EVFILT_WRITE
124 )
125
126 type TforkT C.struct___tfork
127
128 type Sigcontext C.struct_sigcontext
129 type Siginfo C.siginfo_t
130 type Sigset C.sigset_t
131 type Sigval C.union_sigval
132
133 type StackT C.stack_t
134
135 type Timespec C.struct_timespec
136 type Timeval C.struct_timeval
137 type Itimerval C.struct_itimerval
138
139 type KeventT C.struct_kevent
140
141 type Pthread C.pthread_t
142 type PthreadAttr C.pthread_attr_t
143 type PthreadCond C.pthread_cond_t
144 type PthreadCondAttr C.pthread_condattr_t
145 type PthreadMutex C.pthread_mutex_t
146 type PthreadMutexAttr C.pthread_mutexattr_t
147
View as plain text