1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:17:57 -07:00

syscall: Make Pdeathsig type Signal in SysProcAttr on Linux.

R=rsc, iant, iant
CC=golang-dev
https://golang.org/cl/5656058
This commit is contained in:
Albert Strasheim 2012-02-14 21:31:20 -08:00 committed by Ian Lance Taylor
parent 0c5239410e
commit 571d6fc5e8

View File

@ -18,7 +18,7 @@ type SysProcAttr struct {
Setpgid bool // Set process group ID to new pid (SYSV setpgrp)
Setctty bool // Set controlling terminal to fd 0
Noctty bool // Detach fd 0 from controlling terminal
Pdeathsig int // Signal that the process will get when its parent dies (Linux only)
Pdeathsig Signal // Signal that the process will get when its parent dies (Linux only)
}
// Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.