home *** CD-ROM | disk | FTP | other *** search
- /* EMX/gcc defines _getname() to retrieve a pointer to the filename part
- of the path. Define this for MSC.
- */
-
- char *_getname(char *path)
- {
- int i;
-
- for (i = strlen(path); i > 0; i--)
- if (path[i-1] == ':' || path[i-1] == '/' || path[i-1] == '\\') break;
- return (path + i);
- }
-