[erlang-questions] file:open/2 and non-regular files

Richard A. O'Keefe ok@REDACTED
Fri Nov 8 03:15:09 CET 2013

On 8/11/2013, at 2:32 PM, Frank Hunleth wrote:

> I was a little surprised when file:open/2 failed with {error,eisdir}
> when I tried to open a named pipe.

Basically, it's a division of the I/O world into "fast"
and "slow" and limiting file:open/2 to "fast" things.
This has been discussed several times before, so trawling
the archives should find something.

More information about the erlang-questions mailing list