libgo/go/os/readfrom_stub.go
raw| 1 | // Copyright 2020 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build !linux |
| 6 | |
| 7 | package os |
| 8 | |
| 9 | import "io" |
| 10 | |
| 11 | func (f *File) readFrom(r io.Reader) (n int64, handled bool, err error) { |
| 12 | return 0, false, nil |
| 13 | } |