Do you know about any good posix library shells and linux functions and structures (e.g. sockets or file descriptors) in C ++ classes? For example, I am thinking of the base class FileDescriptor and some inheriting classes (unix sockets, etc.) with methods such as writing, reading, or even some system calls (sendfile, splice) - all exceptions are for exception, instead of setting errno. Or some class of shared memory, etc.
I can’t find anything like it, and now I think that I write it myself, because I often have to write a C ++ application for Linux and use the C functions (painful error checking) or wrap them myself each time.
--- EDIT ---
Well, neither QT nor Boost will compile on the system, we use - this is a small Linux kernel based on 2.4.29, installed on embedded computers.
c ++ linux posix wrapper
zbigh
source share