Date: Mon, 2 Aug 1999 13:28:36 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Greg Budai <thuffir AT cyberspace DOT mht DOT bme DOT hu>
cc: djgpp AT delorie DOT com
Subject: Re: SVAsync
In-Reply-To: <37A4D2A0.BCC7058A@cyberspace.mht.bme.hu>
Message-ID: <Pine.SUN.3.91.990802132811.4488P-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk


On Mon, 2 Aug 1999, Greg Budai wrote:

> I started using the SVAsync library but it lacks buffered output. Is
> there any new versions of this library which supports it ?

I don't know if there is a version of SVAsync that has built-in
buffering, but if not, you can easily add that by using the DJGPP
Filesystem Extension feature.  In a nutshell, it allows you to
redirect the normal I/O via fopen, fread, fprintf, etc., to your own
function that calls SVAsync where normally DOS would be called.  The
redirection happens on the lowest level, so the normal buffering works
exactly like it would with stdin and stdout.

For more details, read the "File System Extensions" section of the
library reference.