Hiya,

> > Also, does anyone know where mmap() is? I can't find it in the current
> > distribution?
> 
> mmap is a Unix (Posix?) system call, for mapping a file into memory. If
> mpg123 uses it, and RISC OS doesn't have something equivalent, porting could
> be tricky...

It may not be that tricky - it would depend on how the file was aligned
in memory, would it be word or byte (i.e. 4 or 8 bytes) aligned?

RISC OS uses word alignment when we load a file into memory, though
mapping a file into memory is something else!

TTFN

Paul

---------

Sent from the newest RISC OS based technology - 100% British, 110% reliable
           The future is here, the RiscStation has arrived.

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to