[erlang-questions] ioctl support?

tsuraan tsuraan@REDACTED
Sun Jun 1 03:00:29 CEST 2008


> No.  What are you trying to achieve?  Most style of processing are
> possible because of the structure of the erlang environment or as part
> of specific library interfaces.

I'm trying to determine if my cd-rom drive tray is open.  I think the
only way to do that in Linux is to use the CDROM_DRIVE_STATUS request
(an ioctl).  Writing the port to do that should be pretty easy, but I
figured I'd see if there was a way to do the ioctl directly before
learning how to write a port.



More information about the erlang-questions mailing list