os.Process.Pid (field)
9 uses
os (current package)
exec.go#L22: Pid int
exec.go#L29: p := &Process{Pid: pid, handle: handle}
exec_unix.go#L17: if p.Pid == -1 {
exec_unix.go#L43: pid1, e = syscall.Wait4(p.Pid, &status, 0, &rusage)
exec_unix.go#L63: if p.Pid == -1 {
exec_unix.go#L66: if p.Pid == 0 {
exec_unix.go#L78: if e := syscall.Kill(p.Pid, s); e != nil {
exec_unix.go#L89: p.Pid = -1
wait_waitid.go#L32: _, _, e = syscall.Syscall6(syscall.SYS_WAITID, _P_PID, uintptr(p.Pid), uintptr(unsafe.Pointer(psig)), syscall.WEXITED|syscall.WNOWAIT, 0, 0)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |