Rev 1173 | Rev 1314 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1173 | Rev 1197 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | return dest; |
47 | return dest; |
48 | } |
48 | } |
49 | 49 | ||
50 | size_t strlen(const char *str) |
50 | size_t strlen(const char *str) |
51 | { |
51 | { |
52 | int counter = 0; |
52 | size_t counter = 0; |
53 | 53 | ||
54 | while (str[counter] != 0) { |
54 | while (str[counter] != 0) { |
55 | counter++; |
55 | counter++; |
56 | } |
56 | } |
57 | 57 |