< prev index next >

src/os/aix/vm/os_aix.cpp

Print this page

        

@@ -255,23 +255,10 @@
 
 julong os::physical_memory() {
   return Aix::physical_memory();
 }
 
-////////////////////////////////////////////////////////////////////////////////
-// environment support
-
-bool os::getenv(const char* name, char* buf, int len) {
-  const char* val = ::getenv(name);
-  if (val != NULL && strlen(val) < (size_t)len) {
-    strcpy(buf, val);
-    return true;
-  }
-  if (len > 0) buf[0] = 0;  // return a null string
-  return false;
-}
-
 // Return true if user is running as root.
 
 bool os::have_special_privileges() {
   static bool init = false;
   static bool privileges = false;
< prev index next >