Source file
src/runtime/defs_solaris.go
1
2
3
4
5
6
7
12
13 package runtime
14
15
34 import "C"
35
36 const (
37 EINTR = C.EINTR
38 EBADF = C.EBADF
39 EFAULT = C.EFAULT
40 EAGAIN = C.EAGAIN
41 EBUSY = C.EBUSY
42 ETIME = C.ETIME
43 ETIMEDOUT = C.ETIMEDOUT
44 EWOULDBLOCK = C.EWOULDBLOCK
45 EINPROGRESS = C.EINPROGRESS
46 ENOSYS = C.ENOSYS
47
48 PROT_NONE = C.PROT_NONE
49 PROT_READ = C.PROT_READ
50 PROT_WRITE = C.PROT_WRITE
51 PROT_EXEC = C.PROT_EXEC
52
53 MAP_ANON = C.MAP_ANON
54 MAP_PRIVATE = C.MAP_PRIVATE
55 MAP_FIXED = C.MAP_FIXED
56
57 MADV_FREE = C.MADV_FREE
58
59 SA_SIGINFO = C.SA_SIGINFO
60 SA_RESTART = C.SA_RESTART
61 SA_ONSTACK = C.SA_ONSTACK
62
63 SIGHUP = C.SIGHUP
64 SIGINT = C.SIGINT
65 SIGQUIT = C.SIGQUIT
66 SIGILL = C.SIGILL
67 SIGTRAP = C.SIGTRAP
68 SIGABRT = C.SIGABRT
69 SIGEMT = C.SIGEMT
70 SIGFPE = C.SIGFPE
71 SIGKILL = C.SIGKILL
72 SIGBUS = C.SIGBUS
73 SIGSEGV = C.SIGSEGV
74 SIGSYS = C.SIGSYS
75 SIGPIPE = C.SIGPIPE
76 SIGALRM = C.SIGALRM
77 SIGTERM = C.SIGTERM
78 SIGURG = C.SIGURG
79 SIGSTOP = C.SIGSTOP
80 SIGTSTP = C.SIGTSTP
81 SIGCONT = C.SIGCONT
82 SIGCHLD = C.SIGCHLD
83 SIGTTIN = C.SIGTTIN
84 SIGTTOU = C.SIGTTOU
85 SIGIO = C.SIGIO
86 SIGXCPU = C.SIGXCPU
87 SIGXFSZ = C.SIGXFSZ
88 SIGVTALRM = C.SIGVTALRM
89 SIGPROF = C.SIGPROF
90 SIGWINCH = C.SIGWINCH
91 SIGUSR1 = C.SIGUSR1
92 SIGUSR2 = C.SIGUSR2
93
94 FPE_INTDIV = C.FPE_INTDIV
95 FPE_INTOVF = C.FPE_INTOVF
96 FPE_FLTDIV = C.FPE_FLTDIV
97 FPE_FLTOVF = C.FPE_FLTOVF
98 FPE_FLTUND = C.FPE_FLTUND
99 FPE_FLTRES = C.FPE_FLTRES
100 FPE_FLTINV = C.FPE_FLTINV
101 FPE_FLTSUB = C.FPE_FLTSUB
102
103 BUS_ADRALN = C.BUS_ADRALN
104 BUS_ADRERR = C.BUS_ADRERR
105 BUS_OBJERR = C.BUS_OBJERR
106
107 SEGV_MAPERR = C.SEGV_MAPERR
108 SEGV_ACCERR = C.SEGV_ACCERR
109
110 ITIMER_REAL = C.ITIMER_REAL
111 ITIMER_VIRTUAL = C.ITIMER_VIRTUAL
112 ITIMER_PROF = C.ITIMER_PROF
113
114 _SC_NPROCESSORS_ONLN = C._SC_NPROCESSORS_ONLN
115
116 PTHREAD_CREATE_DETACHED = C.PTHREAD_CREATE_DETACHED
117
118 FORK_NOSIGCHLD = C.FORK_NOSIGCHLD
119 FORK_WAITPID = C.FORK_WAITPID
120
121 MAXHOSTNAMELEN = C.MAXHOSTNAMELEN
122
123 O_NONBLOCK = C.O_NONBLOCK
124 O_CLOEXEC = C.O_CLOEXEC
125 FD_CLOEXEC = C.FD_CLOEXEC
126 F_GETFL = C.F_GETFL
127 F_SETFL = C.F_SETFL
128 F_SETFD = C.F_SETFD
129
130 POLLIN = C.POLLIN
131 POLLOUT = C.POLLOUT
132 POLLHUP = C.POLLHUP
133 POLLERR = C.POLLERR
134
135 PORT_SOURCE_FD = C.PORT_SOURCE_FD
136 PORT_SOURCE_ALERT = C.PORT_SOURCE_ALERT
137 PORT_ALERT_UPDATE = C.PORT_ALERT_UPDATE
138 )
139
140 type SemT C.sem_t
141
142 type Sigset C.sigset_t
143 type StackT C.stack_t
144
145 type Siginfo C.siginfo_t
146 type Sigaction C.struct_sigaction
147
148 type Fpregset C.fpregset_t
149 type Mcontext C.mcontext_t
150 type Ucontext C.ucontext_t
151
152 type Timespec C.struct_timespec
153 type Timeval C.struct_timeval
154 type Itimerval C.struct_itimerval
155
156 type PortEvent C.port_event_t
157 type Pthread C.pthread_t
158 type PthreadAttr C.pthread_attr_t
159
160
161 type Stat C.struct_stat
162
View as plain text