TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.

Typedefs

using ts::ioctl_request_t = platform-dependent
using ts::SysHandleType = platform_specific
using ts::SysProcessIdType = platform_specific

Functions

void ts::AddCloseOnForkExec (int fd, bool cloexec=true)
fs::path ts::CallerLibraryFile ()
UString ts::ClassName (const std::type_index index)
UString ts::ClassName (const std::type_info &info)
fs::path ts::ExecutableFile ()
cn::milliseconds ts::GetProcessCpuTime ()
SysProcessIdType ts::GetProcessId ()
size_t ts::GetProcessVirtualSize ()
void ts::GetValidFileDescriptors (std::set< int > &descs)
UString ts::GetValidFileDescriptorsString ()
void ts::IgnorePipeSignal ()
bool ts::IsPrivilegedUser ()
int ts::LastSysErrorCode ()
bool ts::ProcessIdExists (SysProcessIdType pid)
void ts::RemoveCloseOnForkExec (int fd)
int ts::SetLastSysErrorCode (int error_code)
template<class Rep, class Period>
void ts::SetTimersPrecision (cn::duration< Rep, Period > &precision)
int ts::SysCloseHandle (SysHandleType hfd)
std::string ts::SysErrorCodeMessage (int code=LastSysErrorCode(), const std::error_category *category=nullptr)
bool ts::SysSuccess (int code)
int ts::TranslateError (int code)

Variables

constexpr int ts::SYS_CANCELED = -2
constexpr int ts::SYS_EOF = -3
constexpr int ts::SYS_ERROR = -1
constexpr SysHandleType ts::SYS_HANDLE_INVALID = platform_specific
constexpr int ts::SYS_IO_BLOCKING = -6
constexpr int ts::SYS_PENDING_IO = -5
constexpr SysProcessIdType ts::SYS_PROCESS_ID_INVALID = platform_specific
constexpr int ts::SYS_REJECTED = -4
constexpr int ts::SYS_SUCCESS = 0

Detailed Description

Various system utilities.