[erlang-questions] Documentation error? Why would file:open/2 binary also require raw?

tsuraan <>
Tue Mar 3 19:45:04 CET 2009


The current file documentation says that if you open a file in binary
mode, you must also specify raw mode.  This doesn't actually seem to
be the case; in addition, why would it be that way?  Is this just a
typo, or obsolete?

Also, the documentation for compressed should probably indicate that
you must choose to open the file in read or write mode; attempting to
give [ read, write, compressed ] to file:open reliably gives me {
error, einval }.



More information about the erlang-questions mailing list