home *** CD-ROM | disk | FTP | other *** search
- #ifndef _PATHUTIL_H_
- #define _PATHUTIL_H_
-
- /* this is an extract from the old pathutil.h that was in 1.0 text/text.h */
-
-
- /* functions for path and file name management */
-
- /* return the base file name without any preceding directory */
- /* is a pointer into the filename string passed in */
- extern char *basename(char *s);
-
- /* return the directory path that is embeded in s */
- /* this routine uses a static text area so string only good till next call */
- extern char *parentname(char *s);
-
- /* return true if the path passed in is a directory */
- extern int isDirectory(char *s);
- #endif
-
-