![]() |
TSDuck v3.40-4163
MPEG Transport Stream Toolkit
|
Unix specific features. More...
Files | |
file | tsSysCtl.h |
Reading Unix sysctl(2) values. | |
Classes | |
class | ts::DTVProperties |
Encapsulation of Linux DVB property lists. More... | |
class | ts::MacPList |
This class implements a macOS XML PList file. More... | |
class | ts::SignalAllocator |
Allocate POSIX real-time signal numbers (Linux-specific). More... | |
class | ts::TunerDeviceInfo |
Information on Linux DVB tuner device. More... | |
Functions | |
bool | ts::SysCtrlBool (const std::string &name) |
Get a Unix sysctl(2) boolean value by name. | |
ByteBlock | ts::SysCtrlBytes (std::initializer_list< int > oid) |
Get a Unix sysctl(2) binary value. | |
UString | ts::SysCtrlString (std::initializer_list< int > oid) |
Get a Unix sysctl(2) string value. | |
Unix specific features.
bool ts::SysCtrlBool | ( | const std::string & | name | ) |
Get a Unix sysctl(2) boolean value by name.
This function now works on BSD systems only (macOS, FreeBSD, OpenBSD, DragonFlyBSD). Linux no longer supports sysctl(2), replaced by the /proc/sys filesystem.
[in] | name | Name of the data to return. |
UString ts::SysCtrlString | ( | std::initializer_list< int > | oid | ) |
Get a Unix sysctl(2) string value.
This function now works on BSD systems only (macOS, FreeBSD, OpenBSD, DragonFlyBSD). Linux no longer supports sysctl(2), replaced by the /proc/sys filesystem.
[in] | oid | Identifier of the data to return as a list of int values. |
ByteBlock ts::SysCtrlBytes | ( | std::initializer_list< int > | oid | ) |
Get a Unix sysctl(2) binary value.
This function now works on BSD systems only (macOS, FreeBSD, OpenBSD, DragonFlyBSD). Linux no longer supports sysctl(2), replaced by the /proc/sys filesystem.
[in] | oid | Identifier of the data to return as a list of int values. |