Changeset 618 for soft/giet_vm/giet_common/utils.c
- Timestamp:
- Jul 16, 2015, 3:29:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_common/utils.c
r594 r618 602 602 while ( string[i] != 0 ) i++; 603 603 return i; 604 } 605 606 /////////////////////////////////////// 607 unsigned int _strcmp( const char * s1, 608 const char * s2 ) 609 { 610 while (1) 611 { 612 if (*s1 != *s2) return 1; 613 if (*s1 == 0) break; 614 s1++, s2++; 615 } 616 return 0; 604 617 } 605 618
Note: See TracChangeset
for help on using the changeset viewer.