Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
System
System.Memory

Method System.Memory()->create()


Method create

void System.Memory()
void System.Memory(string|Stdio.File filename_to_mmap)
void System.Memory(int shmkey, int shmsize, int shmflg)
void System.Memory(int bytes_to_allocate)

Description

Will call mmap() or allocate() depending on argument, either mmap'ing a file (in shared mode, writeable if possible) or allocating a chunk of memory.