The rsrcdbmgr_detach() function returns
count resources in list
to the database of available system resources.
You must return the resource
with the same start,
end, and flags (type) that were
issued for the resource when it was allocated with
rsrcdbmgr_attach().