implement Sync on stdioFileHandle

Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Этот коммит содержится в:
Achille Roussel 2023-05-01 22:18:10 +00:00 коммит произвёл Ron Evans
родитель ccfe92a58c
коммит 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)
}