src/hotspot/share/runtime/os.hpp
changeset 53266 57d8566a2732
parent 53244 9807daeb47c4
child 53605 853c68ff2ed7
--- a/src/hotspot/share/runtime/os.hpp	Sun Jan 13 17:33:26 2019 +0100
+++ b/src/hotspot/share/runtime/os.hpp	Sun Jan 13 16:54:01 2019 -0500
@@ -539,9 +539,8 @@
 
   //File i/o operations
 
-  static size_t read(int fd, void *buf, unsigned int nBytes);
-  static size_t read_at(int fd, void *buf, unsigned int nBytes, jlong offset);
-  static size_t restartable_read(int fd, void *buf, unsigned int nBytes);
+  static ssize_t read(int fd, void *buf, unsigned int nBytes);
+  static ssize_t read_at(int fd, void *buf, unsigned int nBytes, jlong offset);
   static size_t write(int fd, const void *buf, unsigned int nBytes);
 
   // Reading directories.