An employee detailed under subsection (b) of this section is deemed, for the purpose of preserving his allowances, privileges, rights, seniority, and other benefits, an employee of the agency from which detailed, and he is entitled to pay, allowances, and benefits from funds available to that agency.