1/* dirutil.h ... directory utilities. 2 * C. Scott Ananian <cananian@alumni.princeton.edu> 3 * 4 * $Id: dirutil.h,v 1.1.1.1 2000/12/23 08:19:51 scott Exp $ 5 */ 6 7/* Returned malloc'ed string representing basename */ 8char *basenamex(char *pathname); 9/* Return malloc'ed string representing directory name (no trailing slash) */ 10char *dirnamex(char *pathname); 11/* In-place modify a string to remove trailing slashes. Returns arg. */ 12char *stripslash(char *pathname); 13/* ensure dirname exists, creating it if necessary. */ 14int make_valid_path(char *dirname, mode_t mode); 15