Mail Archives: djgpp/2000/09/26/11:35:23
On Wed, 27 Sep 2000, Edmund Horner wrote:
> Can the mmap() function be implemented in the DJGPP libc?
Yes, but only for allocating memory and then only for some values of
the arguments. For example, memory-mapped files cannot be supported,
and MAP_FIXED in the flags will not work (since the DPMI client has no
control on the address where memory is allocated).
> If so, would it be a simple port from, say, the Linux glibc source, or would
> it (as I suspect) involve a lot of fiddling with DPMI?
I cannot imagine that a Linux source will be a good starting point,
since Linux uses a totally different memory organization and protection
methods.
- Raw text -