inicio mail me! sindicaci;ón

mmap methods are completed

Changelog:

  • mmap.size() is done
  • mmap.tell() too
  • mmap.flush() is done
  • I had some problems with memmove() syscall from ctypes so I implemented mmap.move() with memcpy()
  • mmap.resize() works where supported (not supported on OSX and FreeBSD)

I discovered an ugly alignment problem caling msync() syscall but it has been fixed. The problem was in Linux only…

mmap methods are completed, now I have to make it behave as a string and a file like object for real.

Related posts

  • some more mmap
  • Where I Am (part 2)
  • mmap is goin’ on
  • Do the bus a bus
  • Don’t mess with strptime
  • Leave a Comment