How do you guys typically delete files on Linux OS? I am thinking of using the unlink function call, but I wonder if you have a better idea, as the C++ standard has
unlink
Note that recent kernels also offer unlinkat. This function is faster than unlink if you have a file descriptor on the directory itself.
unlinkat