Function
adviseFileSegment
Give advice about use of a memory-mapped file segment.
adviseFileSegment(mapping, advise, addr, fileOfs, size)
Include Headers
seqan/file.h
Parameters
mapping
A file mapping object.
advise
Advise flags
addr
A pointer to the beginning of the memory-mapped segment in memory (returned by a prior call of mapFileSegment).
fileOfs
The absolute start address of the segment in bytes.
size
The segment length in bytes.
Remarks
This function has no effect under Windows. On all other platforms it calls posix_madvise.
Return Values
A bool which is true on success.
Member of
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:17