LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   need a ioctl sample program (https://www.linuxquestions.org/questions/programming-9/need-a-ioctl-sample-program-753432/)

supernaturalyasir 09-07-2009 07:44 PM

need a ioctl sample program
 
hello every body, i need a sample code in which i can do communicate with serial port through ioctl system calls, and it not necessary to send sample code just only for serial port communication. i am using kernel 2.6.30. Thanks

wje_lq 09-09-2009 08:12 AM

Do this at the command line:
Code:

man tcsetattr
Hope this helps.


All times are GMT -5. The time now is 02:02 AM.