serial port configuration in Linux

Hello. I’m new here.
I use GNU/Linux and I’m working with C in a program that read a n values of RSSI and dump these values on a file.
I’m working with no API; I’m implementing all process in C.
I think that I have a problem with serial port configuration.

I’m configuring my device with this command:

stty -F /dev/ttyUSB0 9600 cs8 -cstopb

Any idea?
Someone know how I do it with Linux?

Thanks so much.

Seems your problem is somewhere else, as not only is this the correct syntax, but 9600 baud, 8 char. bits and 1 stop bit is already the default for all serial ports in Linux.