For my C/SDL game, I will use this boilerplate code (link). It uses the POSIX function access(2) so it may not compile on Windows computers. Sorry!
Hopefully someone will find this useful. 
For my C/SDL game, I will use this boilerplate code (link). It uses the POSIX function access(2) so it may not compile on Windows computers. Sorry!
Hopefully someone will find this useful. 