<div dir="ltr">

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi there,</span><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255)">Probably this was already discussed here somehow, but the mail list is very extensive, and I couldn't find any help.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255)">I'm trying to do some logging system based on stdio file descriptors redirection. At some extent I could do this, however, some how I couldn't filter out the shell IO. I then wrote a pty device based on pty telnet source, but using unnamed pipes instead. Now I am facing a problem of how can I read multiple file descriptors in a single thread. POSIX<span> </span><i>select</i><span> </span>directive is based on sockets and <i>poll<span> </span></i>seems to be not implemented. I'm very new with RTEMS and there's a lot of functionalities I don't know yet, so, does RTEMS Classic API provides some IO multiplexing like POSIX does? Or, since I believe this is a very common utility, is there another way of doing this?<br><br clear="all"><div><span style="font-size:12.8px">Best regards,</span></div><div><b style="font-size:12.8px">André Abelha</b><br></div><div class="gmail-m_-7978642517075596351gmail-m_-9181082217148691810gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><b><font color="#000000" style="color:rgb(17,85,204)"><a href="mailto:andre.abelha@tekever.com" target="_blank" style="color:rgb(17,85,204)">andreabelha@gmail.com</a></font></b></div></div></div></div></div>

<br></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Sem vírus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>           </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>