Documentation ¶
Index ¶
- Variables
- func BecomeForegroundGroup() (err error)
- func Continue(pid int)
- func ForegroundGroup() int
- func Group() int
- func ID() int
- func Interrupt(pid int)
- func RestoreForegroundGroup()
- func SetForegroundGroup(g int)
- func Stop(pid int)
- func SysProcAttr(foreground bool, group int) *unix.SysProcAttr
- func Terminate(pid int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Platform = "unix" // Umask sets and returns the current umask. Umask = unix.Umask )
Functions ¶
func BecomeForegroundGroup ¶
func BecomeForegroundGroup() (err error)
BecomeForegroundGroup performs the Unix incantations necessary to put the current process in the foreground.
func ForegroundGroup ¶
func ForegroundGroup() int
ForegroundGroup returns the current foreground group ID.
func RestoreForegroundGroup ¶
func RestoreForegroundGroup()
RestoreForegroundGroup places the group for this process back in the foreground.
func SetForegroundGroup ¶
func SetForegroundGroup(g int)
SetForegroundGroup sets the terminal's foregeound group to g.
func SysProcAttr ¶
func SysProcAttr(foreground bool, group int) *unix.SysProcAttr
SysProcAttr returns the appropriate *unix.SysProcAttr given the group ID and if this is for the foreground group.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.