src/os/posix/vm/os_posix.cpp

changeset 9711
0f2fe7d37d8c
parent 9610
f43f77de876a
child 9756
2be326848943
child 9858
b985cbb00e68
     1.1 --- a/src/os/posix/vm/os_posix.cpp	Tue Apr 30 14:49:19 2019 +0200
     1.2 +++ b/src/os/posix/vm/os_posix.cpp	Mon Jun 17 16:41:38 2019 +0100
     1.3 @@ -302,6 +302,21 @@
     1.4    return ::fdopen(fd, mode);
     1.5  }
     1.6  
     1.7 +DIR* os::opendir(const char* dirname) {
     1.8 +  assert(dirname != NULL, "just checking");
     1.9 +  return ::opendir(dirname);
    1.10 +}
    1.11 +
    1.12 +struct dirent* os::readdir(DIR* dirp) {
    1.13 +  assert(dirp != NULL, "just checking");
    1.14 +  return ::readdir(dirp);
    1.15 +}
    1.16 +
    1.17 +int os::closedir(DIR *dirp) {
    1.18 +  assert(dirp != NULL, "just checking");
    1.19 +  return ::closedir(dirp);
    1.20 +}
    1.21 +
    1.22  // Builds a platform dependent Agent_OnLoad_<lib_name> function name
    1.23  // which is used to find statically linked in agents.
    1.24  // Parameters:

mercurial