Hi,
On Sat, Nov 26, 2011 at 10:33 PM, Niamathullah sharief
<[email protected]> wrote:
> I am having code for ejecting CDROM in my Linux system. This is code
>
> CDROM is ejecting fine. ie its opening. But i don't know how to make my
> CDROM to close. Even if i run these program again its not closing. Can
> anyone help me..
if (ioctl(cdrom, CDROMCLOSETRAY) < 0) {
printf("Could not close cdrom tray\n");
}
Regards.
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies