Function transmission_sys::tr_sys_dir_get_current
source · Expand description
@brief Portability wrapper for getcwd ()
.
@param[out] error Pointer to error object. Optional, pass NULL
if you are
not interested in error details.
@return Pointer to newly allocated buffer containing path to current
directory (use @ref tr_free to free it when no longer needed) on
success, NULL
otherwise (with error
set accordingly).