[erlang-questions] Problem in file:rawopen/2

Matthias Lang matthias@REDACTED
Sat Feb 23 21:55:01 CET 2008


Sumith Gamage writes:

 > I use following code segment to copy directory in Linux.

 >     {ok, OutFd} = file:rawopen(Dest, {binary, write}),

 > I used the same code in Windows it fails with the same even with the same
 > Erlang version (I tried with 5.5.5 & 5.6 both).

 > Kindly suggest me a workaround for this.

file:rawopen/2 isn't documented.

Looking at the library source, there's a comment above rawopen:

%% Obsolete, undocumented, local node only, don't use!

Matt




More information about the erlang-questions mailing list