Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-30-2011, 12:28 PM   #1
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.


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 01:19 PM
Screen blanking occurring when computer is left inactive. TTY, not X11. Ryokei Slackware 3 10-27-2008 03:13 AM
Serial PIC programmer, but no serial output on my laptop simopal6 Linux - Hardware 1 08-21-2008 03:04 PM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 04:22 PM
Serial Ports (tty´s) aqoliveira Linux - Hardware 4 06-21-2002 10:06 AM > Forums > Linux Forums > Linux - General

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