Hi, Wyborski Marek wrote: > 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
It's an IntPtr because it must be an int that is able to represent a pointer. Just use IntPtr.Zero in this case. See "man mmap". > 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!! http://msdn2.microsoft.com/en-us/library/system.runtime.interopservices.marshal.writebyte.aspx Robert _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
