Changeset 6962 for trunk/psLib/src/sys/psString.c
- Timestamp:
- Apr 22, 2006, 3:08:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psString.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psString.c
r6874 r6962 13 13 * @author David Robbins, MHPCC 14 14 * 15 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $16 * @date $Date: 2006-04- 17 22:00:03$15 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2006-04-23 01:08:34 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 177 177 const char *splitters) 178 178 { 179 PS_ASSERT_PTR_NON_NULL(string, NULL);180 179 PS_ASSERT_PTR_NON_NULL(splitters, NULL); 181 182 180 psList *values = psListAlloc(NULL); // The list of values to return 181 if (string == NULL) 182 return values; 183 183 184 unsigned int length = strlen(string); // The length of the string 184 185 unsigned int numSplitters = strlen(splitters); // Number of characters that might split
Note:
See TracChangeset
for help on using the changeset viewer.
