Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libcam/
H A Dcamlib.c122 int unit_offset; in cam_get_device() local
222 for (unit_offset = 1; in cam_get_device()
223 (unit_offset < (strlen(tmpstr))) in cam_get_device()
224 && (isdigit(tmpstr[strlen(tmpstr) - unit_offset])); unit_offset++); in cam_get_device()
226 unit_offset--; in cam_get_device()
231 *unit = atoi(&tmpstr[strlen(tmpstr) - unit_offset]); in cam_get_device()
237 tmpstr[strlen(tmpstr) - unit_offset] = '\0'; in cam_get_device()