Re: Programing the [Eject] button on CD-ROM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/27/05, Yu Wang <xiaohuwang@xxxxxxxxxxx> wrote:
> Hi,
> 
> I am currently writting a little program, which needs to use the [Eject] button
> on the CD-ROM. So I am just wondering if there is an API related?
> 

you will want to use ioctl for this problem.

take a look at the source code of "eject" program for some hints.

regards,
aq

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux