Lines Matching defs:filename
203 * Return a pointer to the basename within filename.
204 * If the filename the empty string or a directory (i.e. the last char of
205 * filename is '/') NULL is returned.
208 safe_basename(const char *filename)
210 assert(filename != NULL);
214 if (*filename == '\0')
217 basename = strrchr(filename, '/');
219 return filename;
239 trunkname(const char *filename)
241 assert(filename != NULL);
243 const char *base = safe_basename(filename);