error on file manipulation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

error on file manipulation

Laszlo Varga
Hello,
I've been playing with the otp R8B on Solaris and got strange
result from modul file:




129>  {ok,Macs2} = file:open("Cica.txt",read).
{ok,<0.1977.0>}
130> file:file_info(Macs2).
{error,einval}


And so on, opening and closeing seem ok, but nothing else excepting
io:nl(Macs2).

Do I make something wrong, or is this a problem of installation?

Thanks for helping me
Laszlo

mailto: ethvala