Documentation ¶
Index ¶
- Constants
- func PidFDOpen(pid, flags int) (uintptr, error)
- func PidFDSendSignal(pidfd uintptr, s syscall.Signal) error
- func PidFDWorks() bool
- func Ptrace(request int, pid int, addr uintptr, data uintptr) error
- func Waitid(idType int, id int, info *SiginfoChld, options int, rusage *unix.Rusage) (err error)
- type SiginfoChld
Constants ¶
View Source
const ( CLD_EXITED = 1 // Child has exited CLD_KILLED = 2 // Child was killed CLD_DUMPED = 3 // Child terminated abnormally CLD_TRAPPED = 4 // Traced child has trapped CLD_STOPPED = 5 // Child has stopped CLD_CONTINUED = 6 // Stopped child has continued )
Variables ¶
This section is empty.
Functions ¶
func PidFDWorks ¶
func PidFDWorks() bool
Types ¶
type SiginfoChld ¶
type SiginfoChld struct { Signo int32 // Signal number. Errno int32 // If non-zero, an errno value associated with this signal. Code int32 // Signal code. Pid int // Which child. Status int // Exit value or signal. Uid int // Real user ID of sending process. // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.