SANE can be used in C with GNO (Standard Apple Numerics Environment) When looking to the libsane-master from Kelvin SHERLOCK, I have found the file catch.hpp which is a C++ header file. Github - ksherlock/libsane SANE Standard Apple Numerics Environment. A reimplementation thereof. github.com/ksherlock/libsane In catch.hpp you can read the following : Catch v2.13.6 Generated 2021-04-16 This file has been merged from multiple headers. Please don't edit it directly. Copyright (c) 2021 Two Blue Cubes Ltd. All rights reserved. https://www.boost.org/LICENSE_1_0.txt SANE reimplementation by Kelvin SHERLOCK is compiled with BOOST C++ LIBRARIES. https://www.boost.org/doc/libs/1_80_0/libs/libraries.htm The libraries are : Algorithms Broken compiler workarounds Concurrent programming Containers Correctness and testing Data structures Domain specific Error handling and recovery Function objects and higher-order programming Generic programming Image processing Inputs/Outputs Inter-language support Iterators Language features emulation Math and numerics Memory Parsing Pattern and idioms Preprocessor metaprogramming Programming interfaces State machines String and text processing System Template metaprogramming https://www.boost.org is a great website for source code ressources. https://www.boost.org/users/ Boost background information Why should an organization use Boost ? Who else is using Boost ? What do others say about Boost ? How do users get support ? What about license issues ? What about other intellectual property issues ? Why should anyone give away valuable software for free ? Who pays Boost's expenses ? "... one of the most highly regarded and expertly designed C++ library projects in the world." - Herb Sutter and Andrei Alexandrescu, C++ Coding Standards