https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082006-06-11T00:48:20ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #196: sys/select.h patchhttps://bugs.dragonflybsd.org/issues/196?journal_id=6702006-06-11T00:48:20Zdillon
<ul></ul><p>:Hi,<br />:<br />:features of this patch ;)<br />:<br />:1) Make sys/select.h POSIX compatible<br />:2) Move selinfo stuff to the separate header sys/selinfo.h</p>
<pre><code>Ok, I'll commit nearly all of this, but I am going to keep the<br /> select prototype in &lt;unistd.h&gt; (it will also be in sys/select.h),<br /> at least for the moment, because the BSD documentation has always <br /> indicated that that is where select() lives.</code></pre>
<pre><code>We can consider removing the prototype from unistd.h as a separate issue.</code></pre>
<p>:3) Fix namespace pollution in games/larn</p>
<pre><code>Committed!</code></pre>
<p>:In fact, select() moved from unistd.h to sys/select.h,<br />:and also fd_set struct and FD_* macros moved from sys/types.h to<br />:sys/select.h, as it required by<br />:http://www.opengroup.org/onlinepubs/009695399/functions/pselect.html<br />:<br />:It's a preparation for the further pselect work, requested at project<br />:page <a class="external" href="http://wiki.dragonflybsd.org/index.cgi/Projects_Page">http://wiki.dragonflybsd.org/index.cgi/Projects_Page</a></p>