[REQUEST] C prog || SERIAL PORT reading
i want a simple SERIAL PORT PROGRAM written in C that continuosly polls /dev/ttyS0 (or even send a interrupt and calls a particular C program say XYZ.c when some new data arrives and i should be able to know the data that is received )
can anyone help me in writing this program.
thanking in advance,
2.6.11-1.1369_FC4 x86_64 GNU/Linux