<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 9:40 PM, Steve Vinoski <span dir="ltr"><<a href="mailto:vinoski@ieee.org" target="_blank">vinoski@ieee.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The io man page defines the device() type as follows:<div><br></div><div><div>    device() = atom() | pid()</div>
<div><br></div><div>    An IO device. Either standard_io, standard_error, a registered</div><div>
    name, or a pid handling IO protocols (returned from file:open/2).</div></div><div><br></div><div>But this is incomplete, since file:open/2 can also return an instance of a file_descriptor record.</div></div></blockquote>
<div><br></div><div>Also meant to add that there are functions in the io module that take device() type parameters but do not handle file_descriptor records.</div><div><br></div><div>--steve</div></div></div></div>