Hi all!!!
i'm a beginner in Linux.

my application requires communication with serial port.
i'm using "open()", read(), write() system calls.

i'm able to write to the serial port.

the problem that i'm facing to write what ever i read from the serial port to a text file.

can some one suggest me regarding this.

thanks in advance,