Mercurial > hg > graal-compiler
diff src/os/posix/vm/os_posix.cpp @ 10423:a6697eaddebd
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 21:54:38 +0200 |
parents | e12c9b3740db |
children | 5e3b6f79d280 |
line wrap: on
line diff
--- a/src/os/posix/vm/os_posix.cpp Wed Jun 19 21:49:09 2013 +0200 +++ b/src/os/posix/vm/os_posix.cpp Wed Jun 19 21:54:38 2013 +0200 @@ -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); +}