Lines Matching refs:filepath
34 * This function returns a fullpath based on the "dir" and "filepath" input
36 * - If the filepath specified does not start with a "/" and the directory
38 * - If only dir or filepath is given, this function returns a copy of the
40 * - If the filepath is fully qualified already and the "dir" is also
44 get_fullpath(char *dir, char *filepath)
50 if (filepath != NULL)
51 pathlen = strlen(filepath);
57 if (filepath[0] != '/') {
62 dir, filepath);
67 fullpath = (char *)strdup(filepath);