UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UnixPlatformFile.cpp File Reference
#include "Unix/UnixPlatformFile.h"
#include "GenericPlatform/GenericPlatformProcess.h"
#include "HAL/PlatformTime.h"
#include "Containers/StringConv.h"
#include "Containers/LruCache.h"
#include "Logging/LogMacros.h"
#include "Misc/Paths.h"
#include "Async/MappedFileHandle.h"
#include "AutoRTFM.h"
#include <sys/file.h>
#include <sys/mman.h>
#include "HAL/PlatformFileCommon.h"
#include "HAL/PlatformFileManager.h"

Classes

class  FUnixFileRegistry
 
class  FFileHandleUnix
 
class  FUnixFileMapper
 
class  FUnixMappedFileRegion
 
class  FUnixMappedFileHandle
 

Macros

#define UNIX_PLATFORM_FILE_SPEEDUP_FILE_OPERATIONS   ((!WITH_EDITOR && !IS_PROGRAM) || !PLATFORM_LINUX)
 
#define UE_LOG_UNIX_FILE(Verbosity, Format, ...)
 

Functions

 DEFINE_LOG_CATEGORY_STATIC (LogUnixPlatformFile, Log, All)
 

Variables

const FDateTime UnixEpoch (1970, 1, 1)
 
int32 CORE_API GMaxNumberFileMappingCache
 
FUnixFileMapper GCaseInsensMapper
 

Macro Definition Documentation

◆ UE_LOG_UNIX_FILE

#define UE_LOG_UNIX_FILE (   Verbosity,
  Format,
  ... 
)
Value:
{ \
if (!bLoggingError) \
{ \
bLoggingError = true; \
bLoggingError = false; \
} \
}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127

◆ UNIX_PLATFORM_FILE_SPEEDUP_FILE_OPERATIONS

#define UNIX_PLATFORM_FILE_SPEEDUP_FILE_OPERATIONS   ((!WITH_EDITOR && !IS_PROGRAM) || !PLATFORM_LINUX)

Function Documentation

◆ DEFINE_LOG_CATEGORY_STATIC()

DEFINE_LOG_CATEGORY_STATIC ( LogUnixPlatformFile  ,
Log  ,
All   
)

Variable Documentation

◆ GCaseInsensMapper

FUnixFileMapper GCaseInsensMapper

◆ GMaxNumberFileMappingCache

int32 CORE_API GMaxNumberFileMappingCache
extern

◆ UnixEpoch

const FDateTime UnixEpoch(1970, 1, 1) ( 1970  ,
,
 
)