Template Class PosixCallBuilder
Defined in File posix_call.hpp
Class Documentation
-
template<typename ReturnType, typename ...FunctionArguments>
class PosixCallBuilder Public Types
-
using FunctionType_t = ReturnType (*)(FunctionArguments...)
input function type
Public Functions
-
PosixCallVerificator<ReturnType> operator()(FunctionArguments... arguments) && noexcept
Call the underlying function with the provided arguments. If the underlying function fails and sets the errno to EINTR the call is repeated at most POSIX_CALL_EINTR_REPETITIONS times.
- Parameters:
arguments – [in] arguments which will be provided to the posix function
- Returns:
the PosixCallVerificator to verify the return value
-
using FunctionType_t = ReturnType (*)(FunctionArguments...)