Changeset 781 for soft/giet_vm/giet_libs/string.h
- Timestamp:
- Feb 7, 2016, 7:47:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/string.h
r777 r781 10 10 11 11 //////////////////////////////////////////////////////////////////////////////////////// 12 // This function copies the source string to the dest string. 12 // This function copies the source string to the dest string, including the NUL 13 // terminating character. 13 14 // It returns a pointer on the dest string. 14 15 //////////////////////////////////////////////////////////////////////////////////////// … … 23 24 24 25 //////////////////////////////////////////////////////////////////////////////////////// 25 //The strcmp() function compares the two strings s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. 26 // The strcmp() function compares the two strings s1 and s2. It returns an integer 27 // less than, equal to, or greater than zero if s1 is found, respectively, to be smaller 28 // to match, or be greater than s2. 26 29 //////////////////////////////////////////////////////////////////////////////////////// 27 30 int strcmp(const char * str1, const char * str2);
Note: See TracChangeset
for help on using the changeset viewer.