LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-07-2009, 07:44 PM   #1
supernaturalyasir
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
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
 
Old 09-09-2009, 08:12 AM   #2
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
Do this at the command line:
Code:
man tcsetattr
Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message: Program eject is using a deprecated SCSI ioctl, please convert to SG Jogie Linux - Newbie 4 08-24-2009 06:35 PM
How to pass IOCTL arguments from usespace ioctl call devkpict Linux - Kernel 1 12-07-2007 06:45 PM
Assembling a 32 bit sample program in a 64 bit world debiant Programming 0 10-14-2006 02:52 PM
regarding a lex sample program... sam_cit Linux - Software 2 05-09-2006 12:16 AM
Sample "Hello World" Xwindows C++ program dogpatch Programming 1 12-02-2005 08:55 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration