< prev index next >

src/os/posix/vm/os_posix.cpp

Print this page

        

@@ -300,10 +300,25 @@
 
 FILE* os::open(int fd, const char* mode) {
   return ::fdopen(fd, mode);
 }
 
+DIR* os::opendir(const char* dirname) {
+  assert(dirname != NULL, "just checking");
+  return ::opendir(dirname);
+}
+
+struct dirent* os::readdir(DIR* dirp) {
+  assert(dirp != NULL, "just checking");
+  return ::readdir(dirp);
+}
+
+int os::closedir(DIR *dirp) {
+  assert(dirp != NULL, "just checking");
+  return ::closedir(dirp);
+}
+
 // Builds a platform dependent Agent_OnLoad_<lib_name> function name
 // which is used to find statically linked in agents.
 // Parameters:
 //            sym_name: Symbol in library we are looking for
 //            lib_name: Name of library to look in, NULL for shared libs.
< prev index next >