hotspot/src/share/vm/runtime/os.hpp
changeset 14471 f3a6b82e25cf
parent 13859 7fe4578493fc
child 14840 8994c2377547
equal deleted inserted replaced
14383:f31aacbd0f36 14471:f3a6b82e25cf
   477 
   477 
   478   static const char*    get_temp_directory();
   478   static const char*    get_temp_directory();
   479   static const char*    get_current_directory(char *buf, int buflen);
   479   static const char*    get_current_directory(char *buf, int buflen);
   480 
   480 
   481   // Builds a platform-specific full library path given a ld path and lib name
   481   // Builds a platform-specific full library path given a ld path and lib name
   482   static void           dll_build_name(char* buffer, size_t size,
   482   // Returns true if buffer contains full path to existing file, false otherwise
       
   483   static bool           dll_build_name(char* buffer, size_t size,
   483                                        const char* pathname, const char* fname);
   484                                        const char* pathname, const char* fname);
   484 
   485 
   485   // Symbol lookup, find nearest function name; basically it implements
   486   // Symbol lookup, find nearest function name; basically it implements
   486   // dladdr() for all platforms. Name of the nearest function is copied
   487   // dladdr() for all platforms. Name of the nearest function is copied
   487   // to buf. Distance from its base address is returned as offset.
   488   // to buf. Distance from its base address is returned as offset.