/external/qemu/distrib/sdl-1.2.12/src/cdrom/beos/ |
SDL_syscdrom.cc | 85 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.12/src/cdrom/freebsd/ |
SDL_syscdrom.c | 65 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.12/src/cdrom/openbsd/ |
SDL_syscdrom.c | 68 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.12/src/cdrom/qnx/ |
SDL_syscdrom.c | 66 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.12/src/cdrom/aix/ |
SDL_syscdrom.c | 73 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.12/src/cdrom/bsdi/ |
SDL_syscdrom.c | 191 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.12/src/cdrom/linux/ |
SDL_syscdrom.c | 121 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.12/src/cdrom/osf/ |
SDL_syscdrom.c | 63 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) )
|