In my code I need to recursively delete a directory. It bothers me that I had to write three different versions of it.
For linux, I could make use of nftw()
nftw()