[erlang-questions] file:open on devices
Fri Dec 24 15:06:47 CET 2010
It's not possible to do this from Erlang IRC:
Your best bet is probably a port-driver or a NIF.
From:  On Behalf Of Alexey Romanov 
Sent: Friday, December 24, 2010 6:58 AM
To: Erlang Questions
Subject: [erlang-questions] file:open on devices
I have tried to use sl to communicate with a serial port, but with
limited success (so far, at least). The next thing to try was just
opening the file and reading/writing directly to it, but this fails as
(documentation of file:open/2)
Typical error reasons:
The named file is not a regular file. It may be a directory, a
fifo, or a device.
Is it possible to open device files using some other library function?
Yours, Alexey Romanov
erlang-questions (at) erlang.org mailing list.
To unsubscribe; mailto:
More information about the erlang-questions