Changeset 705 for trunk/src/kernel32/nameid.cpp
- Timestamp:
- Aug 26, 1999, 2:56:02 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/nameid.cpp
r571 r705 1 /* $Id: nameid.cpp,v 1. 7 1999-08-19 10:25:27sandervl Exp $ */1 /* $Id: nameid.cpp,v 1.8 1999-08-26 12:55:36 sandervl Exp $ */ 2 2 3 3 /* … … 24 24 #include <winimage.h> 25 25 #include <winexe.h> 26 #include "os2util.h"27 26 28 27 /******************************************************************************/ … … 49 48 //****************************************************************************** 50 49 //****************************************************************************** 51 char *StripPath(char *path)52 {53 /* @@@PH what does this function do ? Strip the path from a FQFN name ? */54 char *pszFilename;55 56 pszFilename = strrchr(path, '\\'); /* find rightmost slash */57 if (pszFilename != NULL)58 return (pszFilename++); /* return pointer to next character */59 60 pszFilename = strrchr(path, '/'); /* find rightmost slash */61 if (pszFilename != NULL)62 return (pszFilename++); /* return pointer to next character */63 64 return (path); /* default return value */65 }66 //******************************************************************************67 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.