1
0
mirror of https://github.com/golang/go synced 2024-11-25 22:57:58 -07:00
go/misc/cgo/stdio/stdio_netbsd.go
2012-06-05 01:43:04 +10:00

17 lines
349 B
Go

// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package stdio
/*
#include <stdio.h>
extern FILE __sF[3];
*/
import "C"
import "unsafe"
var Stdout = (*File)(unsafe.Pointer(&C.__sF[1]))
var Stderr = (*File)(unsafe.Pointer(&C.__sF[2]))