[erlang-questions] input too fast
Bengt Kleberg
bengt.kleberg@REDACTED
Mon Jul 2 11:41:11 CEST 2007
On 2007-06-29 14:45, Fredrik Svahn wrote:
...deleted
> fileio()->
> {ok,StdIn}=file:open("<stdin>",[raw, binary, read]),
> {ok,StdOut}=file:open("<stdout>",[raw, binary, write]),
minor detail: somebody might want to call a file <stdin> (not impossible
imho) and therefore it could be better to use an atom in this case.
ie, string is file name, atom is one of stdin, stdout, stderr.
bengt
--
Those were the days...
EPO guidelines 1978: "If the contribution to the known art resides
solely in a computer program then the subject matter is not
patentable in whatever manner it may be presented in the claims."
More information about the erlang-questions
mailing list