Searched refs:unit_offset (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/lib/libcam/
H A Dcamlib.c120 int unit_offset; local
209 * number begins. As long as unit_offset is at least 1 less than
213 * above, we know that this cannot happen when unit_offset == 1.
214 * Therefore it is okay to decrement unit_offset -- it won't cause
217 for (unit_offset = 1;
218 (unit_offset < (strlen(tmpstr)))
219 && (isdigit(tmpstr[strlen(tmpstr) - unit_offset])); unit_offset++);
221 unit_offset--;
226 *unit = atoi(&tmpstr[strlen(tmpstr) - unit_offset]);
[all...]

Completed in 50 milliseconds