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