This is support forum without support from digi....
There are two way how to access serial port:
1) using STDIO, its the same as it is in linux, you can use printf, getchar ...
2) direct acces to serial port - I guess that this is what you need.
If you want to use direct access, you need to switch off stdio output. You can find it here: properties of your project-> NET+OS -> Options->bsp_sys.h->STDIO Port-> set to NULL
Now try this code:
int fd = open("/com/0",O_RDWR);
if(fd < 0)
// handle error
So if you want to configure serial port you have to use this functions:
int tcsetattr(int fd, int optional_actions, struct termios * termios_p );
int tcgetattr(int fd, struct termios * termios_p );
See documentation for this functions or see this page