This is a lighweight C path manipulation library. It is currently compiled and tested under Windows, MacOS and Linux. It supports UNIX and Windows path styles on all platforms.
Please have a look at the reference for detailed information. Some features this library includes:
- cross-platform on windows, linux and macOS
- simple interface - just one header
- combine paths together
- basename, dirname and extension parsing
- normalize and cleanup paths
- resolve and generate relative paths
- iterate segments of the path
- and more things...
Building, embedding and testing instructions are available in the documentation (it's very easy).
All the documentation is available in the the github page of this repository.