MCPcopy Create free account
hub / github.com/kiibohd/controller / lenStr

Function lenStr

Bootloader/debug.c:202–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201
202uint16_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
215void revsStr( char* in )

Callers 1

revsStrFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…