implement Sync on stdioFileHandle
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Этот коммит содержится в:
родитель
ccfe92a58c
коммит
666312f63f
1 изменённых файлов: 4 добавлений и 0 удалений
|
@ -91,6 +91,10 @@ func (f stdioFileHandle) Seek(offset int64, whence int) (int64, error) {
|
||||||
return -1, ErrUnsupported
|
return -1, ErrUnsupported
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (f stdioFileHandle) Sync() error {
|
||||||
|
return ErrUnsupported
|
||||||
|
}
|
||||||
|
|
||||||
func (f stdioFileHandle) Fd() uintptr {
|
func (f stdioFileHandle) Fd() uintptr {
|
||||||
return uintptr(f)
|
return uintptr(f)
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче