The following two sentences both contain the phrase " charge somebody to do something ", but I wonder if the meaning of the phrase varies in different contexts.
The federal funds rate is the interest rate that the Fed charges banks to borrow money.
For this one, I think it means that when banks borrow money from the Fed, Fed will charge them? In this case, the implied subject of to borrow money should be banks.
For the 43-year-old who sleeps in a tent outside a local church, the library is pretty much the only place he can go that won't charge him to provide safety, warmth, useful services and entertainment.
This sentence shares a similar structure with the one above, I think it means that the library provides safety, warmth and other stuffs, and the 43-year-old do not have to pay for those?
But based on the context, it seems like the implied subject of to provide safety, warmth,... is the library instead of the homeless guy. Why is that?