UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPipeHandle Struct Reference

#include <UnixPlatformProcess.h>

Public Member Functions

 FPipeHandle (int Fd, int PairFd)
 
CORE_API ~FPipeHandle ()
 
FString Read ()
 
bool ReadToArray (TArray< uint8 > &Output)
 
int GetHandle () const
 
int GetPairHandle () const
 

Protected Attributes

int PipeDesc
 
int PairDesc
 

Detailed Description

Wrapper around Unix file descriptors

Constructor & Destructor Documentation

◆ FPipeHandle()

FPipeHandle::FPipeHandle ( int  Fd,
int  PairFd 
)
inline

◆ ~FPipeHandle()

FPipeHandle::~FPipeHandle ( )

Member Function Documentation

◆ GetHandle()

int FPipeHandle::GetHandle ( ) const
inline

Returns raw file handle.

◆ GetPairHandle()

int FPipeHandle::GetPairHandle ( ) const
inline

Returns the raw file handle of the other endpoint of PipeDesc

◆ Read()

FString FPipeHandle::Read ( )

Reads until EOF.

◆ ReadToArray()

bool FPipeHandle::ReadToArray ( TArray< uint8 > &  Output)

Reads until EOF.

Member Data Documentation

◆ PairDesc

int FPipeHandle::PairDesc
protected

◆ PipeDesc

int FPipeHandle::PipeDesc
protected

The documentation for this struct was generated from the following files: