[Bf-committers] Re: Re: [Bf-blender-cvs] CVS commit: blender/intern/guardedalloc/intern mallocn.c

GSR gsr.b3d at infernal-iceberg.com
Mon Feb 27 18:51:11 CET 2006


Hi,
ton at blender.org (2006-02-27 at 1832.38 +0100):
> SGI probably has MAP_ANONYMOUS... can you grep for it in  
> /usr/include/sys/mman.h?
> Might be same for Solaris.

It seems in Linux you should use that one too, as mmap(2) says:

       MAP_ANONYMOUS
              The mapping is not backed by any file; the fd and  offset  argu-
              ments  are ignored.  This flag in conjunction with MAP_SHARED is
              implemented since Linux 2.4.

       MAP_ANON
              Alias for MAP_ANONYMOUS. Deprecated.


GSR
 


More information about the Bf-committers mailing list