MCPcopy Create free account
hub / github.com/buggins/coolreader / LVMapFileStream

Function LVMapFileStream

crengine/src/lvstream.cpp:823–827  ·  view source on GitHub ↗

Open memory mapped file \param pathname is file name to open (unicode) \param mode is mode file should be opened in (LVOM_READ or LVOM_APPEND only) \param minSize is minimum file size for R/W mode \return reference to opened stream if success, NULL if error */

Source from the content-addressed store, hash-verified

821 \return reference to opened stream if success, NULL if error
822*/
823LVStreamRef LVMapFileStream( const lChar8 * pathname, lvopen_mode_t mode, lvsize_t minSize )
824{
825 lString16 fn = LocalToUnicode( lString8(pathname) );
826 return LVMapFileStream( fn.c_str(), mode, minSize );
827}
828
829
830//#ifdef _LINUX

Callers 1

MMapTestFunction · 0.85

Calls 5

LocalToUnicodeFunction · 0.85
lString8Class · 0.85
CreateFileStreamFunction · 0.85
lString16Class · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected