Changeset 594 for soft/giet_vm/giet_common/utils.c
- Timestamp:
- Jul 8, 2015, 4:13:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_common/utils.c
r523 r594 596 596 } 597 597 598 //////////////////////////////////// 599 unsigned int _strlen( char* string ) 600 { 601 unsigned int i = 0; 602 while ( string[i] != 0 ) i++; 603 return i; 604 } 605 598 606 /////////////////////////////////////// 599 607 unsigned int _strncmp( const char * s1, … … 616 624 617 625 while (*source) 618 *(dest++) = *(source++); 619 626 { 627 *(dest) = *(source); 628 dest++; 629 source++; 630 } 631 *dest = 0; 620 632 return dest; 621 633 } … … 717 729 718 730 ///////////////////////////////// 719 void 720 721 731 void* memset( void* dst, 732 int value, 733 unsigned int count ) 722 734 { 723 735 // word-by-word copy
Note: See TracChangeset
for help on using the changeset viewer.