Function ruby_getcwd

Source
pub unsafe extern "C" fn ruby_getcwd() -> *mut c_char
Expand description

This is our own version of getcwd(3) that uses ruby_xmalloc() instead of system malloc (benefits our GC).

ยง@return An allocated C string holding the process working directory. @note Return value must be discarded using ruby_xfree().

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3