Mail Archives: djgpp/1999/08/02/20:39:22
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.
- Raw text -