Browse Source

implement Sync on stdioFileHandle

Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
pull/3699/head
Achille Roussel 2 years ago
committed by Ron Evans
parent
commit
666312f63f
  1. 4
      src/os/file_other.go

4
src/os/file_other.go

@ -91,6 +91,10 @@ func (f stdioFileHandle) Seek(offset int64, whence int) (int64, error) {
return -1, ErrUnsupported
}
func (f stdioFileHandle) Sync() error {
return ErrUnsupported
}
func (f stdioFileHandle) Fd() uintptr {
return uintptr(f)
}

Loading…
Cancel
Save