LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 05-10-2005, 07:46 AM   #1
xav78
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
command with serial console


I want to developp a real time application and I want to command my system with serial console.
The problem for me is to find a function that is non bloking my system. That's to say if a call the function it is able to see if there is an input or nothing and to execute ans pass to the next actions to do.

I used fgets but it wait for \n character so it is bloking if nothing

thanks for help
 
Old 05-10-2005, 10:08 AM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
That sounds like a programming forum question. Anyway... maybe you have to fork the execution.
 
  


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
Serial Console-redirect to another PC adenev Linux - Newbie 2 04-01-2009 08:21 PM
Serial Console zaicheke Linux - Networking 4 11-14-2004 08:55 PM
Serial console troubles otisthegbs Linux - General 2 07-23-2004 12:48 PM
serial console ixion Linux - Software 3 03-19-2003 01:36 PM
Remote Serial Console tarballedtux Linux - Networking 3 08-14-2002 08:37 PM


All times are GMT -5. The time now is 05:25 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