Add configuration settings necessary to use poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1283 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9f998c7d60
commit
5cd3135721
@ -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…
x
Reference in New Issue
Block a user