Port

Torbjorn Tornkvist tobbe@REDACTED
Tue May 27 20:40:35 CEST 2003


There used to exist a 'no_use_stdio' option to open_port/2.
It used fd 3 & 4 instead of 0 & 1.

Cheers , Tobbe

Inswitch Solutions - Erlang Evaluation wrote:
>  
>  
> I'm using an Erlang port implemented in C/C++ (Win32).
> and I'm having some trouble with file descriptor 0 and 1 opened by
> Erlang to manage the C/C++ port.
> The C/C++ code uses libraries which throws output to stdin/stdout.
>  
> Can I change the file descriptor number, {fs, In, Out} port setting in 
> Erlang ?
> What other choices do I have  ?
>  
>  
> Thanks in advance
> Eduardo Figoli
> INSwitch Solutions
>  





More information about the erlang-questions mailing list