oh yeah, you're right.  But the source code for RHOSTS might give us the answer to your question