• Home
  • Raw
  • Download

Lines Matching full:libc

5 use libc::{
107 Abort = libc::SIGABRT,
108 Alarm = libc::SIGALRM,
109 Bus = libc::SIGBUS,
110 Child = libc::SIGCHLD,
111 Continue = libc::SIGCONT,
112 ExceededFileSize = libc::SIGXFSZ,
113 FloatingPointException = libc::SIGFPE,
114 HangUp = libc::SIGHUP,
115 IllegalInstruction = libc::SIGILL,
116 Interrupt = libc::SIGINT,
117 Io = libc::SIGIO,
118 Kill = libc::SIGKILL,
119 Pipe = libc::SIGPIPE,
120 Power = libc::SIGPWR,
121 Profile = libc::SIGPROF,
122 Quit = libc::SIGQUIT,
123 SegmentationViolation = libc::SIGSEGV,
124 StackFault = libc::SIGSTKFLT,
125 Stop = libc::SIGSTOP,
126 Sys = libc::SIGSYS,
127 Trap = libc::SIGTRAP,
128 Terminate = libc::SIGTERM,
129 TtyIn = libc::SIGTTIN,
130 TtyOut = libc::SIGTTOU,
131 TtyStop = libc::SIGTSTP,
132 Urgent = libc::SIGURG,
133 User1 = libc::SIGUSR1,
134 User2 = libc::SIGUSR2,
135 VtAlarm = libc::SIGVTALRM,
136 Winch = libc::SIGWINCH,
137 Xcpu = libc::SIGXCPU,
139 Rt0 = libc::SIGSYS + 1,
176 let num = signal as libc::c_int; in from()
177 if num >= Signal::Rt0 as libc::c_int { in from()
178 return num - (Signal::Rt0 as libc::c_int) + SIGRTMIN(); in from()
191 libc::SIGABRT => Abort, in try_from()
192 libc::SIGALRM => Alarm, in try_from()
193 libc::SIGBUS => Bus, in try_from()
194 libc::SIGCHLD => Child, in try_from()
195 libc::SIGCONT => Continue, in try_from()
196 libc::SIGXFSZ => ExceededFileSize, in try_from()
197 libc::SIGFPE => FloatingPointException, in try_from()
198 libc::SIGHUP => HangUp, in try_from()
199 libc::SIGILL => IllegalInstruction, in try_from()
200 libc::SIGINT => Interrupt, in try_from()
201 libc::SIGIO => Io, in try_from()
202 libc::SIGKILL => Kill, in try_from()
203 libc::SIGPIPE => Pipe, in try_from()
204 libc::SIGPWR => Power, in try_from()
205 libc::SIGPROF => Profile, in try_from()
206 libc::SIGQUIT => Quit, in try_from()
207 libc::SIGSEGV => SegmentationViolation, in try_from()
208 libc::SIGSTKFLT => StackFault, in try_from()
209 libc::SIGSTOP => Stop, in try_from()
210 libc::SIGSYS => Sys, in try_from()
211 libc::SIGTRAP => Trap, in try_from()
212 libc::SIGTERM => Terminate, in try_from()
213 libc::SIGTTIN => TtyIn, in try_from()
214 libc::SIGTTOU => TtyOut, in try_from()
215 libc::SIGTSTP => TtyStop, in try_from()
216 libc::SIGURG => Urgent, in try_from()
217 libc::SIGUSR1 => User1, in try_from()
218 libc::SIGUSR2 => User2, in try_from()
219 libc::SIGVTALRM => VtAlarm, in try_from()
220 libc::SIGWINCH => Winch, in try_from()
221 libc::SIGXCPU => Xcpu, in try_from()
487 // of libc calls. in clear_signal()
533 let ret = libc::kill(pid, signum); in kill()
608 ok_if!(unsafe { kill(target, libc::SIGTERM) }, libc::ESRCH).map_err(Error::Kill)?; in kill_tree()
633 if err.errno() == libc::ECHILD { in kill_tree()
649 ok_if!(unsafe { kill(target, libc::SIGKILL) }, libc::ESRCH).map_err(Error::Kill)?; in kill_tree()
656 &[libc::SIGCHLD], in kill_tree()
659 libc::EAGAIN | libc::EINTR in kill_tree()