Changeset 607 for soft/giet_vm/giet_libs/string.c
- Timestamp:
- Jul 13, 2015, 3:10:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/string.c
r258 r607 37 37 } 38 38 39 /////////////////////////////////////////////////////////////////////////////////// 40 // int strlen ( const char * str ) 41 /////////////////////////////////////////////////////////////////////////////////// 42 int strlen ( const char * str ) 43 { 44 const char *s = str; 45 46 while (*s) 47 s++; 48 49 return (s - str); 50 } 51 39 52 // Local Variables: 40 53 // tab-width: 4
Note: See TracChangeset
for help on using the changeset viewer.