<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libusb: libusb_pollfd Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2 --> <script type="text/javascript"> <!-- function changeDisplayState (e){ var num=this.id.replace(/[^[0-9]/g,''); var button=this.firstChild; var sectionDiv=document.getElementById('dynsection'+num); if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ sectionDiv.style.display='block'; button.src='open.gif'; }else{ sectionDiv.style.display='none'; button.src='closed.gif'; } } function initDynSections(){ var divs=document.getElementsByTagName('div'); var sectionCounter=1; for(var i=0;i<divs.length-1;i++){ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ var header=divs[i]; var section=divs[i+1]; var button=header.firstChild; if (button!='IMG'){ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); button=document.createElement('img'); divs[i].insertBefore(button,divs[i].firstChild); } header.style.cursor='pointer'; header.onclick=changeDisplayState; header.id='dynheader'+sectionCounter; button.src='closed.gif'; section.id='dynsection'+sectionCounter; section.style.display='none'; section.style.marginLeft='14px'; sectionCounter++; } } } window.onload = initDynSections; --> </script> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>libusb_pollfd Struct Reference<br/> <small> [<a class="el" href="group__poll.html">Polling and timing</a>]</small> </h1><!-- doxytag: class="libusb_pollfd" --> <p>File descriptor for polling. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="libusb_8h_source.html">libusb.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bf9823709974cfb204e008eae7d451a"></a><!-- doxytag: member="libusb_pollfd::fd" ref="a6bf9823709974cfb204e008eae7d451a" args="" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="structlibusb__pollfd.html#a6bf9823709974cfb204e008eae7d451a">fd</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Numeric file descriptor. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">short </td><td class="memItemRight" valign="bottom"><a class="el" href="structlibusb__pollfd.html#a5e6391383c132343ecd2f34b78ca017e">events</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Event flags to poll for from <poll.h>. <a href="#a5e6391383c132343ecd2f34b78ca017e"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>File descriptor for polling. </p> <hr/><h2>Field Documentation</h2> <a class="anchor" id="a5e6391383c132343ecd2f34b78ca017e"></a><!-- doxytag: member="libusb_pollfd::events" ref="a5e6391383c132343ecd2f34b78ca017e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">short <a class="el" href="structlibusb__pollfd.html#a5e6391383c132343ecd2f34b78ca017e">libusb_pollfd::events</a></td> </tr> </table> </div> <div class="memdoc"> <p>Event flags to poll for from <poll.h>. </p> <p>POLLIN indicates that you should monitor this file descriptor for becoming ready to read from, and POLLOUT indicates that you should monitor this file descriptor for nonblocking write readiness. </p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="libusb_8h_source.html">libusb.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>