Mail Archives: djgpp/1995/06/13/06:16:39
From: MX%"kagel AT ts1 DOT bloomberg DOT com"
> Is there a somewhat painless way in djgpp to map a file directly to
> memory? So that a person could do something like this:
>
> ptr = fmap( "bigfile.dat", "r" );
> Decompress( ptr, bigDestBuffer );
> funmap( ptr );
>
> I know that some Unix flavors have something similar, but I'm not sure
> if it's part of the OS or the compiler.
>
>Some UNIX flavorsdo, noteably System V.4, do offer a memory mapped I/O
>facility. However, this is not a compiler feature but an OS feature. Such a
>facility is not available in DJGPP, yet. Want to write it? :-)
I'm not sure I understand well what the first sender wanted to
do but what about streams ?
Balzack
- Raw text -