3

There are several good cross-platform libraries, by which we usually mean something that wraps the commonalities of Windows and *nix. Is there anything for developers that don't really care about Windows but want the benefits of C++ wrapping *nix system calls?

I am thinking of a library that reduces the tedium of struct setup, checking return codes and errno, throws appropriate (and actionable) exceptions, and generally reduces the system call boilerplate.

I accept that there are some standalone syscalls for which this might not make sense but there are plenty which could be naturally grouped e.g. stat/lstat/fstat, getpid/getppid/geteuid/etc.

Is there anything good out there?

1
  • You might get a good answer on here, but it could also pay to check trumphurst.com/cpplibs/cpplibs.php and then Google/ask for specific feedback on likely-sounding libraries.... Commented Sep 6, 2010 at 3:37

1 Answer 1

1

Sounds like Boost Filesystem and Boost Threads cover a lot of that ground. Threading is also included in C++0x.

Don't know of any for managing process information a la getpid, though. What other kinds of info and interfaces would be bundled into a process object?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.