Function transmission_sys::tr_sys_path_remove
source · Expand description
@brief Portability wrapper for remove ()
.
@param[in] path Path to file or directory.
@param[out] error Pointer to error object. Optional, pass NULL
if you are
not interested in error details.
@return True
on success, false
otherwise (with error
set accordingly).
Directory removal will only succeed if it is empty (contains no other
files and directories).