A library for reading/wring data via USB-UART adapters
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules
Namespaces | Functions
core.cpp File Reference

Core implementation of USBUART Library. More...

Go to the source code of this file.


 USBUART namespace.


bool operator== (const pollfd &p, int fd) noexcept
bool operator== (const pollfd &a, const pollfd &b) noexcept
bool operator== (const usbuart::file_channel *ch, const pollfd &) noexcept
int linux_enumerate_device (struct libusb_context *ctx, uint8_t busnum, uint8_t devaddr, const char *sysfs_dir)
template<typename A , typename V >
auto usbuart::util::find (const A &a, V v)
template<typename A , typename V >
auto usbuart::util::erase (A &a, V v)
void usbuart::throw_error (const char *tag, int err) throw (error_t)
int usbuart::safe (const char *tag, function< int()> unsafe) noexcept
 safe wrapper for unsafe calls