]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/stdio: split stdout/stderr into a separate file
authorJoel Sing <jsing@google.com>
Mon, 4 Jun 2012 15:38:55 +0000 (01:38 +1000)
committerJoel Sing <jsing@google.com>
Mon, 4 Jun 2012 15:38:55 +0000 (01:38 +1000)
commitb945b741e15b09f98ae6298d9698bd50a806267a
tree9371a1018b01b2210bae24e4abfc331537938861
parent677cdb800d85025b01173e44925189c822869168
misc/cgo/stdio: split stdout/stderr into a separate file

Split stdout/stderr into a separate file so that can be handled
differently on some platforms. Both NetBSD and OpenBSD have defines
for stdout/stderr that require some coercion in order for cgo to
handle them correctly.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6247062
misc/cgo/stdio/file.go
misc/cgo/stdio/stdio.go [new file with mode: 0644]