Home | History | Annotate | Download | only in syscall

Lines Matching defs:WaitStatus

80 type WaitStatus uint32
91 func (w WaitStatus) Exited() bool { return w&mask == exited }
93 func (w WaitStatus) ExitStatus() int {
100 func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
102 func (w WaitStatus) Signal() Signal {
110 func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
112 func (w WaitStatus) Stopped() bool { return w&mask == stopped && Signal(w>>shift) != SIGSTOP }
114 func (w WaitStatus) Continued() bool { return w&mask == stopped && Signal(w>>shift) == SIGSTOP }
116 func (w WaitStatus) StopSignal() Signal {
123 func (w WaitStatus) TrapCause() int { return -1 }
127 func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
131 *wstatus = WaitStatus(status)