[Mono-list] Mono.Unix.Native.Syscall.mmap().

Wyborski Marek Marek.Wyborski at escad.de
Mon Jul 30 09:49:13 EDT 2007


Hi!

 

I am trying to map the Frambuffer /dev/fb0 with
Mono.Unix.Native.Syscall.mmap(). As start-address the method needs an
IntPtr. I don't understand why it isn't just an int with for example 0
to start at the beginning? And when I receive the IntPtr from the
function with the mapped memory I don't know how write to that space. I
used Marshal.WriteByte() but It doesn't seem to work.

 

Unluckily the documentation for the Function is not available, so any
help is appreciated!!

 

Thanks

Marek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070730/7c63f33c/attachment.html 


More information about the Mono-list mailing list