Mercurial > hg > truffle
comparison src/os/posix/vm/os_posix.cpp @ 14347:47ee29d0e3f7
Merge
author | ehelin |
---|---|
date | Mon, 03 Feb 2014 10:49:49 +0100 |
parents | c250880a6673 |
children | 8a9bb7821e28 6c9332549827 |
comparison
equal
deleted
inserted
replaced
14346:8a3eb09ed131 | 14347:47ee29d0e3f7 |
---|---|
258 return getcwd(buf, buflen); | 258 return getcwd(buf, buflen); |
259 } | 259 } |
260 | 260 |
261 FILE* os::open(int fd, const char* mode) { | 261 FILE* os::open(int fd, const char* mode) { |
262 return ::fdopen(fd, mode); | 262 return ::fdopen(fd, mode); |
263 } | |
264 | |
265 void* os::get_default_process_handle() { | |
266 return (void*)::dlopen(NULL, RTLD_LAZY); | |
267 } | 263 } |
268 | 264 |
269 // Builds a platform dependent Agent_OnLoad_<lib_name> function name | 265 // Builds a platform dependent Agent_OnLoad_<lib_name> function name |
270 // which is used to find statically linked in agents. | 266 // which is used to find statically linked in agents. |
271 // Parameters: | 267 // Parameters: |