Searched refs:cdfd (Results 1 – 8 of 8) sorted by relevance
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/ |
D | SDL_syscdrom.c | 65 int is_cd, cdfd; in CheckDrive() local 76 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); in CheckDrive() 77 if ( cdfd >= 0 ) { in CheckDrive() 86 if ( (ioctl(cdfd, CDIOCREADSUBCHANNEL, &info) == 0) || in CheckDrive() 90 close(cdfd); in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/ |
D | SDL_syscdrom.cc | 85 int is_cd, cdfd; in CheckDrive() local 95 cdfd = open(drive, 0); in CheckDrive() 96 if ( cdfd >= 0 ) { in CheckDrive() 97 if ( ioctl(cdfd, B_GET_GEOMETRY, &info) == B_NO_ERROR ) { in CheckDrive() 102 close(cdfd); in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/ |
D | SDL_syscdrom.c | 68 int is_cd, cdfd; in CheckDrive() local 79 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); in CheckDrive() 80 if ( cdfd >= 0 ) { in CheckDrive() 89 if ( (ioctl(cdfd, CDIOCREADSUBCHANNEL, &info) == 0) || in CheckDrive() 93 close(cdfd); in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/ |
D | SDL_syscdrom.c | 66 int is_cd, cdfd; in CheckDrive() local 85 cdfd = open(drive, QNX_CD_OPENMODE); in CheckDrive() 86 if ( cdfd >= 0 ) in CheckDrive() 88 devctlret=devctl(cdfd, DCMD_CAM_DEVINFO, &dinfo, sizeof(cam_devinfo_t), NULL); in CheckDrive() 103 close(cdfd); in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/ |
D | SDL_syscdrom.c | 121 int is_cd, cdfd; in CheckDrive() local 132 cdfd = open(drive, (O_RDONLY|O_NONBLOCK), 0); in CheckDrive() 133 if ( cdfd >= 0 ) { in CheckDrive() 137 if ( (ioctl(cdfd, CDROMSUBCHNL, &info) == 0) || in CheckDrive() 141 close(cdfd); in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/ |
D | SDL_syscdrom.c | 191 int is_cd = 0, cdfd; in CheckDrive() local 200 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); in CheckDrive() 201 if ( cdfd >= 0 ) { in CheckDrive() 202 p = Inquiry(cdfd); in CheckDrive() 205 close(cdfd); in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/ |
D | SDL_syscdrom.c | 73 int cdfd; in CheckDrive() local 85 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); in CheckDrive() 86 if ( cdfd >= 0 ) { in CheckDrive() 87 ret = SDL_SYS_CDioctl( cdfd, IOCINFO, &info ); in CheckDrive() 98 close(cdfd); in CheckDrive()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/ |
D | SDL_syscdrom.c | 63 int cdfd, is_cd = 0; in CheckDrive() local 80 if ( (cdfd = open(drive, (O_RDWR|O_NDELAY), 0)) >= 0 ) { in CheckDrive() 87 if ( ioctl(cdfd, SCSI_GET_INQUIRY_DATA, &msp) ) in CheckDrive()
|