diff options
Diffstat (limited to 'include/ruby')
| -rw-r--r-- | include/ruby/internal/intern/dir.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ruby/internal/intern/dir.h b/include/ruby/internal/intern/dir.h index 4b2608e5e6..da1873e068 100644 --- a/include/ruby/internal/intern/dir.h +++ b/include/ruby/internal/intern/dir.h @@ -26,6 +26,15 @@ RBIMPL_SYMBOL_EXPORT_BEGIN() /* dir.c */ + +/** + * Queries the path of the current working directory of the current process. + * + * @return An instance of ::rb_cString that holds the working directory. + * @note The returned string is in "filesystem" encoding. Most notably on + * Linux this is an alias of default external encoding. Most notably + * on Windows it can be an alias of OS codepage. + */ VALUE rb_dir_getwd(void); RBIMPL_SYMBOL_EXPORT_END() |
