LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 04-30-2011, 01:28 PM   #1
yplasse
LQ Newbie
 
Registered: Mar 2010
Posts: 7

Rep: Reputation: 2
TTY Output space left on serial


I and using a serial port and I would like to find how much bytes can still be sent to the output queue. I can find how much bytes are in the output queue with the ioctl TIOCOUTQ. I need to know what is the serial output buffer size to find how much bytes can still be used (memory left) in the queue at all time. Any ideas?

Output queue left = Output queue size - Qty of data in queue

Yves plasse.
 
  


Reply

Tags
output, serial port


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is a USBtty (USB serial port) treated the same as tty (normal serial port) in C? spudgunner Programming 1 11-12-2010 02:19 PM
Screen blanking occurring when computer is left inactive. TTY, not X11. Ryokei Slackware 3 10-27-2008 04:13 AM
Serial PIC programmer, but no serial output on my laptop simopal6 Linux - Hardware 1 08-21-2008 04:04 PM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 05:22 PM
Serial Ports (tty´s) aqoliveira Linux - Hardware 4 06-21-2002 11:06 AM


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