(Illustration by Gaich Muramatsu)
NetBSD says to use MAP_FAILED, and to include sys/mman.h, which contains: #define MAP_FAILED ((void *) -1) /* mmap() failed */ Since Sean is running 32-bit user/kernel, there should be no 64-bit integer or pointer types - it's ILP32, just like regular sparc. The value is stored in a void *, so that should be ok. -- Greg Troxel <gdt_at_ir.bbn.com>Received on 2006-04-25 16:40:35