...
Source file
src/runtime/defs2_linux.go
Documentation: runtime
1
2
3
4
5
6
7
16
17 package runtime
18
19
45 import "C"
46
47 const (
48 EINTR = C.EINTR
49 EAGAIN = C.EAGAIN
50 ENOMEM = C.ENOMEM
51
52 PROT_NONE = C.PROT_NONE
53 PROT_READ = C.PROT_READ
54 PROT_WRITE = C.PROT_WRITE
55 PROT_EXEC = C.PROT_EXEC
56
57 MAP_ANON = C.MAP_ANONYMOUS
58 MAP_PRIVATE = C.MAP_PRIVATE
59 MAP_FIXED = C.MAP_FIXED
60
61 MADV_DONTNEED = C.MADV_DONTNEED
62 MADV_FREE = C.MADV_FREE
63 MADV_HUGEPAGE = C.MADV_HUGEPAGE
64 MADV_NOHUGEPAGE = C.MADV_NOHUGEPAGE
65
66 SA_RESTART = C.SA_RESTART
67 SA_ONSTACK = C.SA_ONSTACK
68 SA_RESTORER = C.SA_RESTORER
69 SA_SIGINFO = C.SA_SIGINFO
70
71 SIGHUP = C.SIGHUP
72 SIGINT = C.SIGINT
73 SIGQUIT = C.SIGQUIT
74 SIGILL = C.SIGILL
75 SIGTRAP = C.SIGTRAP
76 SIGABRT = C.SIGABRT
77 SIGBUS = C.SIGBUS
78 SIGFPE = C.SIGFPE
79 SIGKILL = C.SIGKILL
80 SIGUSR1 = C.SIGUSR1
81 SIGSEGV = C.SIGSEGV
82 SIGUSR2 = C.SIGUSR2
83 SIGPIPE = C.SIGPIPE
84 SIGALRM = C.SIGALRM
85 SIGSTKFLT = C.SIGSTKFLT
86 SIGCHLD = C.SIGCHLD
87 SIGCONT = C.SIGCONT
88 SIGSTOP = C.SIGSTOP
89 SIGTSTP = C.SIGTSTP
90 SIGTTIN = C.SIGTTIN
91 SIGTTOU = C.SIGTTOU
92 SIGURG = C.SIGURG
93 SIGXCPU = C.SIGXCPU
94 SIGXFSZ = C.SIGXFSZ
95 SIGVTALRM = C.SIGVTALRM
96 SIGPROF = C.SIGPROF
97 SIGWINCH = C.SIGWINCH
98 SIGIO = C.SIGIO
99 SIGPWR = C.SIGPWR
100 SIGSYS = C.SIGSYS
101
102 FPE_INTDIV = C.FPE_INTDIV
103 FPE_INTOVF = C.FPE_INTOVF
104 FPE_FLTDIV = C.FPE_FLTDIV
105 FPE_FLTOVF = C.FPE_FLTOVF
106 FPE_FLTUND = C.FPE_FLTUND
107 FPE_FLTRES = C.FPE_FLTRES
108 FPE_FLTINV = C.FPE_FLTINV
109 FPE_FLTSUB = C.FPE_FLTSUB
110
111 BUS_ADRALN = C.BUS_ADRALN
112 BUS_ADRERR = C.BUS_ADRERR
113 BUS_OBJERR = C.BUS_OBJERR
114
115 SEGV_MAPERR = C.SEGV_MAPERR
116 SEGV_ACCERR = C.SEGV_ACCERR
117
118 ITIMER_REAL = C.ITIMER_REAL
119 ITIMER_VIRTUAL = C.ITIMER_VIRTUAL
120 ITIMER_PROF = C.ITIMER_PROF
121
122 O_RDONLY = C.O_RDONLY
123 O_CLOEXEC = C.O_CLOEXEC
124 )
125
126 type Fpreg C.struct__fpreg
127 type Fpxreg C.struct__fpxreg
128 type Xmmreg C.struct__xmmreg
129 type Fpstate C.struct__fpstate
130 type Timespec C.struct_timespec
131 type Timeval C.struct_timeval
132 type Sigaction C.struct_kernel_sigaction
133 type Siginfo C.siginfo_t
134 type StackT C.stack_t
135 type Sigcontext C.struct_sigcontext
136 type Ucontext C.struct_ucontext
137 type Itimerval C.struct_itimerval
138 type EpollEvent C.struct_epoll_event
139
View as plain text