Searched refs:cdfd (Results 1 - 8 of 8) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
H A DSDL_syscdrom.cc85 int is_cd, cdfd; local
95 cdfd = open(drive, 0);
96 if ( cdfd >= 0 ) {
97 if ( ioctl(cdfd, B_GET_GEOMETRY, &info) == B_NO_ERROR ) {
102 close(cdfd);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
H A DSDL_syscdrom.c65 int is_cd, cdfd; local
76 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
77 if ( cdfd >= 0 ) {
86 if ( (ioctl(cdfd, CDIOCREADSUBCHANNEL, &info) == 0) ||
90 close(cdfd);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
H A DSDL_syscdrom.c68 int is_cd, cdfd; local
79 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
80 if ( cdfd >= 0 ) {
89 if ( (ioctl(cdfd, CDIOCREADSUBCHANNEL, &info) == 0) ||
93 close(cdfd);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
H A DSDL_syscdrom.c66 int is_cd, cdfd; local
85 cdfd = open(drive, QNX_CD_OPENMODE);
86 if ( cdfd >= 0 )
88 devctlret=devctl(cdfd, DCMD_CAM_DEVINFO, &dinfo, sizeof(cam_devinfo_t), NULL);
103 close(cdfd);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
H A DSDL_syscdrom.c73 int cdfd; local
85 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
86 if ( cdfd >= 0 ) {
87 ret = SDL_SYS_CDioctl( cdfd, IOCINFO, &info );
98 close(cdfd);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/
H A DSDL_syscdrom.c191 int is_cd = 0, cdfd; local
200 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
201 if ( cdfd >= 0 ) {
202 p = Inquiry(cdfd);
205 close(cdfd);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
H A DSDL_syscdrom.c121 int is_cd, cdfd; local
132 cdfd = open(drive, (O_RDONLY|O_NONBLOCK), 0);
133 if ( cdfd >= 0 ) {
137 if ( (ioctl(cdfd, CDROMSUBCHNL, &info) == 0) ||
141 close(cdfd);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
H A DSDL_syscdrom.c63 int cdfd, is_cd = 0; local
80 if ( (cdfd = open(drive, (O_RDWR|O_NDELAY), 0)) >= 0 ) {
87 if ( ioctl(cdfd, SCSI_GET_INQUIRY_DATA, &msp) )

Completed in 79 milliseconds