[erlang-questions] what does open_port({fd,0,1},...) do?

Maxim Treskin zerthurd@REDACTED
Wed Oct 1 17:50:54 CEST 2008


This option provides access to file descriptors opened by Erlang, i.e.
stdin and stdout. So, you can directly write to and read from this
descriptors from erlang process. Normally, you must not use this
feature.

On 01/10/2008, devdoer bird <devdoer2@REDACTED> wrote:
> Thanks .I read the manual before this mail.But the manul is not very clear.
> Can you give more details please? Such as why this special {fd,In,Out}  port
> is needed?

-- 
Maxim Treskin



More information about the erlang-questions mailing list