Lines Matching refs:capability
224 int capability;
226 capability = ioctl(fd, CDROM_GET_CAPABILITY, NULL);
227 if (capability < 0) {
232 if (capability & CDC_CD_R)
234 if (capability & CDC_CD_RW)
236 if (capability & CDC_DVD)
238 if (capability & CDC_DVD_R)
240 if (capability & CDC_DVD_RAM)
242 if (capability & CDC_MRW)
244 if (capability & CDC_MRW_W)