Home | History | Annotate | Download | only in syscall

Lines Matching full:waitstatus

193 type WaitStatus uint32
212 func (w WaitStatus) Exited() bool { return w&mask == exited }
214 func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
216 func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
218 func (w WaitStatus) Continued() bool { return w == 0xFFFF }
220 func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
222 func (w WaitStatus) ExitStatus() int {
229 func (w WaitStatus) Signal() Signal {
236 func (w WaitStatus) StopSignal() Signal {
243 func (w WaitStatus) TrapCause() int {
252 func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
256 *wstatus = WaitStatus(status)