| 200 | |
| 201 | |
| 202 | uint16_t lenStr( char* in ) |
| 203 | { |
| 204 | // Iterator |
| 205 | char *pos; |
| 206 | |
| 207 | // Loop until null is found |
| 208 | for ( pos = in; *pos; pos++ ); |
| 209 | |
| 210 | // Return the difference between the pointers of in and pos (which is the string length) |
| 211 | return (pos - in); |
| 212 | } |
| 213 | |
| 214 | |
| 215 | void revsStr( char* in ) |
no outgoing calls
no test coverage detected
searching dependent graphs…