diff options
Diffstat (limited to 'src/os/file_other.go')
-rw-r--r-- | src/os/file_other.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/file_other.go b/src/os/file_other.go index 12b21b838..7e4642c0b 100644 --- a/src/os/file_other.go +++ b/src/os/file_other.go @@ -33,6 +33,10 @@ type file struct { name string } +func (f *file) close() error { + return f.handle.Close() +} + func NewFile(fd uintptr, name string) *File { return &File{&file{stdioFileHandle(fd), name}} } |