Add configuration settings necessary to use poll()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1283 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
338cf17e26
commit
83ea27d5dc
|
@ -6050,6 +6050,25 @@ interface of the same name.
|
|||
occurred for any of the file descriptors, then <code>poll()</code> blocks until
|
||||
one of the events occurs.
|
||||
</p>
|
||||
<p>
|
||||
<b>Configuration Settings</b>.
|
||||
In order to use the <code>poll()</code> API, the following must be defined
|
||||
in your NuttX configuration file:
|
||||
</p>
|
||||
<ul>
|
||||
<li><code>CONFIG_NFILE_DESCRIPTORS</code> Defined to be greater than 0</li>
|
||||
<li><code>CONFIG_DISABLE_POLL</code> NOT defined</li>
|
||||
</ul>
|
||||
<p>
|
||||
In order to use the select with TCP/IP sockets test, you must also have the following additional things
|
||||
selected in your NuttX configuration file:
|
||||
</p>
|
||||
<ul>
|
||||
<li><code>CONFIG_NET</code> Defined for general network support</li>
|
||||
<li><code>CONFIG_NET_TCP</code> Defined for TCP/IP support</li>
|
||||
<li><code>CONFIG_NSOCKET_DESCRIPTORS</code> Defined to be greater than 0</li>
|
||||
<li><code>CONFIG_NET_NTCP_READAHEAD_BUFFERS</code> Defined to be greater than zero</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>Input Parameters:</b>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue