mirror of
https://github.com/golang/go
synced 2024-11-19 13:54:56 -07:00
ef986fa3fc
The '1' part is left over from the C conversion, but no longer makes sense given that print1.go no longer exists. Change-Id: Iec171251370d740f234afdbd6fb1a4009fde6696 Reviewed-on: https://go-review.googlesource.com/16036 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
14 lines
290 B
Go
14 lines
290 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.
|
|
|
|
// +build !android
|
|
|
|
package runtime
|
|
|
|
import "unsafe"
|
|
|
|
func writeErr(b []byte) {
|
|
write(2, unsafe.Pointer(&b[0]), int32(len(b)))
|
|
}
|