http://glfwtfwhlsm2u5pw3b7crist7bt7fwepj2wgv3n3b64unj22v5435tyd.onion/blog/2019/08/09/Simplyfile.html
The library is actually not special and you could imagine how the code looks like (close on destruction and some moves).
However, there are two reasons I prefer dealing with files encapsulated in simplyfile’s handles: They are closed uppon destruction (no shit… its RAII) file handles in Linux are int s which have arythmetic semantics to it.