1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

include/ruby/internal/intern/dir.h: add doxygen

Must not be a bad idea to improve documents. [ci skip]
This commit is contained in:
卜部昌平 2021-05-07 14:49:09 +09:00
parent 0a7034258f
commit 974a9e4fba
Notes: git 2021-09-10 20:01:27 +09:00

View file

@ -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()