Index: runtime/bin/file_linux.cc |
diff --git a/runtime/bin/file_linux.cc b/runtime/bin/file_linux.cc |
index f8c6674feb21c3d64f8c1a3cb46fcf237863d1a2..657eccda3012d5f3528577fbe8ca1d0c6fce2906 100644 |
--- a/runtime/bin/file_linux.cc |
+++ b/runtime/bin/file_linux.cc |
@@ -63,6 +63,11 @@ void File::Close() { |
} |
+intptr_t File::GetFD() { |
+ return handle_->fd(); |
+} |
+ |
+ |
bool File::IsClosed() { |
return handle_->fd() == kClosedFd; |
} |