...
Source file
src/runtime/defs_arm_linux.go
Documentation: runtime
1
2
3
4
5
6
7
13
14 package runtime
15
16
46 import "C"
47
48 const (
49 PROT_NONE = C.PROT_NONE
50 PROT_READ = C.PROT_READ
51 PROT_WRITE = C.PROT_WRITE
52 PROT_EXEC = C.PROT_EXEC
53
54 MAP_ANON = C.MAP_ANONYMOUS
55 MAP_PRIVATE = C.MAP_PRIVATE
56 MAP_FIXED = C.MAP_FIXED
57
58 MADV_DONTNEED = C.MADV_DONTNEED
59
60 SA_RESTART = C.SA_RESTART
61 SA_ONSTACK = C.SA_ONSTACK
62 SA_RESTORER = C.SA_RESTORER
63 SA_SIGINFO = C.SA_SIGINFO
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 SIGBUS = C.SIGBUS
72 SIGFPE = C.SIGFPE
73 SIGKILL = C.SIGKILL
74 SIGUSR1 = C.SIGUSR1
75 SIGSEGV = C.SIGSEGV
76 SIGUSR2 = C.SIGUSR2
77 SIGPIPE = C.SIGPIPE
78 SIGALRM = C.SIGALRM
79 SIGSTKFLT = C.SIGSTKFLT
80 SIGCHLD = C.SIGCHLD
81 SIGCONT = C.SIGCONT
82 SIGSTOP = C.SIGSTOP
83 SIGTSTP = C.SIGTSTP
84 SIGTTIN = C.SIGTTIN
85 SIGTTOU = C.SIGTTOU
86 SIGURG = C.SIGURG
87 SIGXCPU = C.SIGXCPU
88 SIGXFSZ = C.SIGXFSZ
89 SIGVTALRM = C.SIGVTALRM
90 SIGPROF = C.SIGPROF
91 SIGWINCH = C.SIGWINCH
92 SIGIO = C.SIGIO
93 SIGPWR = C.SIGPWR
94 SIGSYS = C.SIGSYS
95
96 FPE_INTDIV = C.FPE_INTDIV & 0xFFFF
97 FPE_INTOVF = C.FPE_INTOVF & 0xFFFF
98 FPE_FLTDIV = C.FPE_FLTDIV & 0xFFFF
99 FPE_FLTOVF = C.FPE_FLTOVF & 0xFFFF
100 FPE_FLTUND = C.FPE_FLTUND & 0xFFFF
101 FPE_FLTRES = C.FPE_FLTRES & 0xFFFF
102 FPE_FLTINV = C.FPE_FLTINV & 0xFFFF
103 FPE_FLTSUB = C.FPE_FLTSUB & 0xFFFF
104
105 BUS_ADRALN = C.BUS_ADRALN & 0xFFFF
106 BUS_ADRERR = C.BUS_ADRERR & 0xFFFF
107 BUS_OBJERR = C.BUS_OBJERR & 0xFFFF
108
109 SEGV_MAPERR = C.SEGV_MAPERR & 0xFFFF
110 SEGV_ACCERR = C.SEGV_ACCERR & 0xFFFF
111
112 ITIMER_REAL = C.ITIMER_REAL
113 ITIMER_PROF = C.ITIMER_PROF
114 ITIMER_VIRTUAL = C.ITIMER_VIRTUAL
115 )
116
117 type Timespec C.struct_timespec
118 type StackT C.stack_t
119 type Sigcontext C.struct_sigcontext
120 type Ucontext C.struct_ucontext
121 type Timeval C.struct_timeval
122 type Itimerval C.struct_itimerval
123 type Siginfo C.struct_xsiginfo
124 type Sigaction C.struct_xsigaction
125
View as plain text