ftp.nice.ch/pub/next/tools/archiver/JumpBack.NISH.bs.tar.gz#/JumpBack/Source/pathutil.h

This is pathutil.h in view mode; [Download] [Up]

#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

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.