To you all,
 
When I program the I/O ports is assembly I use the TRIS instruction to set the data direction of the pins. I am wondering how I should do this in C because there is no actual TRIS register.