Searched refs:device_names (Results 1 – 1 of 1) sorted by relevance
37 static char **device_names; variable368 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1)); in open_device()373 device_names = new_device_names; in open_device()405 device_names[nfds] = strdup(device); in open_device()415 if(strcmp(device_names[i], device) == 0) { in close_device()419 free(device_names[i]); in close_device()420 memmove(device_names + i, device_names + i + 1, sizeof(device_names[0]) * count); in close_device()675 printf("%s: ", device_names[i]); in getevent_main()