Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Unix > API/Runtime/Core/Unix/FUnixPlatformFile
- IPlatformFile::OpenMapped()
- FUnixPlatformFile::OpenMapped()
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformFile.h |
Include | #include "Unix/UnixPlatformFile.h" |
Source | /Engine/Source/Runtime/Core/Private/Unix/UnixPlatformFile.cpp |
virtual IMappedFileHandle * OpenMapped
(
const TCHAR * Filename
)
Remarks
Open a file for async reading. This call does hit the disk; it is synchronous open. Close the file by delete'ing the handle. A non-null return value does mean the file exists. Null can be returned for many reasons even if the file exists. Perhaps this platform does not support mapped files, or this file is compressed in a pak file. Generally you attempt to open mapped, and if that fails, then use other file operations instead.
Parameters
Name | Description |
---|---|
Filename | file to be mapped. This doesn't actually map anything, just opens the file. |