relocate is a small C library which helps locate a program resource file in the file hierarchy of the end user.