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 <[EMAIL PROTECTED]>

Reply via email to