Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 05-10-2005, 07:46 AM   #1
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
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,085
Blog Entries: 1

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


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 > Forums > Linux Forums > Linux - Hardware

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

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