mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 03:53:42 +00:00
implement Sync on stdioFileHandle
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
This commit is contained in:
committed by
Ron Evans
parent
ccfe92a58c
commit
666312f63f
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user