Mercurial > hg > truffle
diff src/os/posix/vm/os_posix.cpp @ 10195:e12c9b3740db
8012260: ciReplay: Include PID into the name of replay data file
Reviewed-by: kvn, twisti
author | vlivanov |
---|---|
date | Thu, 25 Apr 2013 11:02:32 -0700 |
parents | 754c24457b20 |
children | 5e3b6f79d280 |
line wrap: on
line diff
--- a/src/os/posix/vm/os_posix.cpp Wed Apr 24 18:20:04 2013 -0400 +++ b/src/os/posix/vm/os_posix.cpp Thu Apr 25 11:02:32 2013 -0700 @@ -251,3 +251,11 @@ return true; #endif } + +const char* os::get_current_directory(char *buf, size_t buflen) { + return getcwd(buf, buflen); +} + +FILE* os::open(int fd, const char* mode) { + return ::fdopen(fd, mode); +}