fopen returns FILE *, the address of the FILE struct. I think that's what you're looking for.