]> Cypherpunks repositories - gostls13.git/commit
syscall: match linux Setsid function signature to darwin
authorAndrew Gerrand <adg@golang.org>
Mon, 19 Apr 2010 03:12:11 +0000 (13:12 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 19 Apr 2010 03:12:11 +0000 (13:12 +1000)
commit3ffbd57b94ab98ca076d67659ab32863ec032a94
tree76256d39b480fb36adba89193c398c018ae2aebc
parent57e764171cef8ba6f3a5a2a4c5f4e35bd7527740
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
src/pkg/syscall/syscall_linux.go
src/pkg/syscall/zsyscall_linux_386.go
src/pkg/syscall/zsyscall_linux_amd64.go
src/pkg/syscall/zsyscall_linux_arm.go