Skip to main content

R_ExpandFileName

Function R_ExpandFileName 

Source
unsafe fn R_ExpandFileName(s: *const c_char) -> *const c_char
Expand description

Expand a filename, resolving ~ and environment variables.

§Returns

Pointer to expanded path (in R’s internal buffer, do not free). Checked wrapper for R_ExpandFileName. Calls R_ExpandFileName_unchecked and routes through with_r_thread. Generated from source location line 3515, column 8. Generated from source file miniextendr-api/src/ffi.rs.