xgboost
Typedefs | Functions
xgboost::system Namespace Reference

Typedefs

using SocketT = int
 

Functions

std::int32_t LastError ()
 
auto ThrowAtError (StringView fn_name, std::int32_t errsv=LastError())
 
std::int32_t CloseSocket (SocketT fd)
 
bool LastErrorWouldBlock ()
 
void SocketStartup ()
 
void SocketFinalize ()
 

Typedef Documentation

◆ SocketT

using xgboost::system::SocketT = typedef int

Function Documentation

◆ CloseSocket()

std::int32_t xgboost::system::CloseSocket ( SocketT  fd)
inline

◆ LastError()

std::int32_t xgboost::system::LastError ( )
inline

◆ LastErrorWouldBlock()

bool xgboost::system::LastErrorWouldBlock ( )
inline

◆ SocketFinalize()

void xgboost::system::SocketFinalize ( )
inline

◆ SocketStartup()

void xgboost::system::SocketStartup ( )
inline

◆ ThrowAtError()

auto xgboost::system::ThrowAtError ( StringView  fn_name,
std::int32_t  errsv = LastError() 
)
inline