FilenamePart

[ XITE Reference Manual | XITE home ]

Name

FilenamePart - Return only the filename part of a path.

Syntax

 #include <xite/utils.h>

 char *FilenamePart( char* filename );

Description

Return a pointer to the last substring of a string which may consist of "/"-separated parts.

No memory space is allocated by this function.

Return value

NULL if "/" is the last character in filename, otherwise a string.

Author

Svein Bøe

Doc

Svein Bøe

Id

$Id: envfindfile.c,v 1.34 1996/12/12 19:40:08 svein Exp $