This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: How to make tty buffer size longer?????
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: 김주동 <jdkim at snssol dot co dot kr>
- Cc: <ecos-devel at ecos dot sourceware dot org>
- Date: 16 May 2005 09:23:05 +0100
- Subject: Re: How to make tty buffer size longer?????
- References: <OFEPJEEHNEOHPACEGGNFEEAMCAAA.jdkim@snssol.co.kr>
=?ks_c_5601-1987?B?sejB1rW/?= <jdkim@snssol.co.kr> writes:
> Hi. everyone.
>
> Thank you for your answer.
> But, can you tell me more detail?
> I tryed setbuf().
> But it maked a bit bigger size of buffer( 256 -> 260 ).
> I need 1kbyte(1024byte).
There are two sets of buffers you can control. The first are the ring
buffers in the device driver, whose size you can set in the
configtool. The second are the buffers in the C library streams, which
you can either set in the configtool, or at runtime using setvbuf().
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts