dev_index_for_path
int32 devIndex = dev_index_for_path(name);
static int dev_index_for_path(const char *path);