abs2rel
char * abs2rel(const char *path, const char *base, char *result, const size_t size);
if (abs2rel(argv[1], cwd, result, MAXPATHLEN)) {