Hi, --- On Thu, Jun 25, 2009 at 2:38 PM, Suraj Swami<suraj.g.sw...@gmail.com> wrote: | I want to send single charector on the serial port which my hardware will | receive and execute. \--
What hardware? Do you have the datasheet? --- | tcdrain(fd); \-- You should always check return values of functions. You can check return value of tcdrain() and see what it returns. Also refer: http://linux.die.net/man/3/tcdrain http://opengroup.org/onlinepubs/007908799/xsh/tcdrain.html SK -- Shakthi Kannan http://www.shakthimaan.com _______________________________________ Pune GNU/Linux Users Group Mailing List