DEV_NAME_LEN
char buf[DEV_NAME_LEN];
if (fgets(buf, DEV_NAME_LEN - 1, stdin)) {
strncpy(dev_name, *av, DEV_NAME_LEN);
char dev_name[DEV_NAME_LEN];