commit | 3ffbd57b94ab98ca076d67659ab32863ec032a94 | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Mon Apr 19 13:12:11 2010 +1000 |
committer | Andrew Gerrand <adg@golang.org> | Mon Apr 19 13:12:11 2010 +1000 |
tree | 76256d39b480fb36adba89193c398c018ae2aebc | |
parent | 57e764171cef8ba6f3a5a2a4c5f4e35bd7527740 [diff] |
syscall: match linux Setsid function signature to darwin SETSID does return an errno - any reason why it has been done this way in zsyscall_linux_* ? Otherwise it should be the same as darwin. From SETSID(2) on my Linux box: ERRORS On error, -1 is returned, and errno is set. Fixes #730 R=rsc CC=golang-dev https://golang.org/cl/878047