configuring serial port

I'm sorry that this is probably a fairly trivial question but I am new to this game, I am looking to configure the serial so I connect using hyperterminal with the following : -

57600Baud,8,1,N.

please could you help me maybe with some suggested c code for a serial initialisation function? or perhaps point me to a tutorial where I could get this info from.

thanks.

More questions in this forum