Existing C ++ * nix system library?

There are some good cross-platform libraries that usually mean something that wraps around the common features of Windows and * nix. Is there anything for developers who really don't care about Windows but want to take advantage of the C ++ packaging * nix system calls?

I think of a library that reduces structure fatigue, checks return codes and errno, throws appropriate (and valid) exceptions, and usually reduces the system pattern.

I agree that there are separate autonomous systems for which this may not make sense, but there are many that can be naturally grouped, for example. stat / lstat / fstat, getpid / getppid / geteuid / etc.

Is there anything good?

+3
source share
1 answer

It sounds like Boost Filesystem and Boost Threads cover a lot of this land. Threading is also included in C ++ 0x.

I do not know a single one to manage process information a la getpid. What other types of information and interfaces will be combined into an object process?

+1
source

Source: https://habr.com/ru/post/1763380/


All Articles