sftp_canonicalize_path method
@brief Canonicalize a sftp path.
@param sftp The sftp session handle.
@param path The path to be canonicalized.
@return A pointer to the newly allocated canonicalized path, NULL on error. The caller needs to free the memory using ssh_string_free_char().
Implementation
ffi.Pointer<ffi.Int8> sftp_canonicalize_path(
sftp_session sftp,
ffi.Pointer<ffi.Int8> path,
) {
return _sftp_canonicalize_path(
sftp,
path,
);
}