LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 08: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, 09:12 AM   #2
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: Debian lenny, Slackware 12
Posts: 809

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:35 PM
How to pass IOCTL arguments from usespace ioctl call devkpict Linux - Kernel 1 12-07-2007 07:45 PM
Assembling a 32 bit sample program in a 64 bit world debiant Programming 0 10-14-2006 03:52 PM
regarding a lex sample program... sam_cit Linux - Software 2 05-09-2006 01:16 AM
Sample "Hello World" Xwindows C++ program dogpatch Programming 1 12-02-2005 09:55 AM


All times are GMT -5. The time now is 08:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration