<!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>pcsc-lite: sys_generic.h File 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.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">pcsc-lite <span id="projectnumber">1.7.2</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_7a4553ee0c3b13d0e595a5d1659110a6.html">src</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>sys_generic.h File Reference</h1> </div> </div> <div class="contents"> <p>This handles abstract system level calls. <a href="#_details">More...</a></p> <div class="textblock"><code>#include <sys/stat.h></code><br/> <code>#include <sys/mman.h></code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for sys_generic.h:</div> <div class="dyncontent"> <div class="center"><img src="sys__generic_8h__incl.png" border="0" usemap="#sys__generic_8h" alt=""/></div> <map name="sys__generic_8h" id="sys__generic_8h"> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="sys__generic_8h__dep__incl.png" border="0" usemap="#sys__generic_8hdep" alt=""/></div> <map name="sys__generic_8hdep" id="sys__generic_8hdep"> <area shape="rect" id="node3" href="configfile_8c_source.html" title="configfile.c" alt="" coords="5,83,91,112"/><area shape="rect" id="node5" href="debuglog_8c.html" title="This handles debugging for pcscd." alt="" coords="115,83,200,112"/><area shape="rect" id="node7" href="eventhandler_8c.html" title="This keeps track of card insertion/removal events and updates ATR, protocol, and status information..." alt="" coords="224,83,331,112"/><area shape="rect" id="node9" href="ifdwrapper_8c.html" title="This wraps the dynamic ifdhandler functions." alt="" coords="355,83,448,112"/><area shape="rect" id="node11" href="pcscdaemon_8c.html" title="This is the main pcscd daemon." alt="" coords="472,83,579,112"/><area shape="rect" id="node13" href="readerfactory_8c.html" title="This keeps track of a list of currently available reader structures." alt="" coords="603,83,712,112"/><area shape="rect" id="node15" href="sys__unix_8c.html" title="This handles abstract system level calls." alt="" coords="736,83,821,112"/><area shape="rect" id="node17" href="utils_8c.html" title="utility functions" alt="" coords="845,83,901,112"/><area shape="rect" id="node19" href="winscard_8c.html" title="This handles smartcard reader communications." alt="" coords="925,83,1011,112"/><area shape="rect" id="node21" href="winscard__clnt_8c.html" title="winscard_clnt.c" alt="" coords="1035,83,1147,112"/><area shape="rect" id="node23" href="winscard__msg_8c.html" title="This is responsible for client/server communication." alt="" coords="1171,83,1288,112"/><area shape="rect" id="node25" href="winscard__svc_8c.html" title="This demarshalls functions over the message queue and keeps track of clients and their handles..." alt="" coords="1312,83,1424,112"/></map> </div> </div> <p><a href="sys__generic_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="sys__generic_8h.html#abbd906a9a16166248e32862f67fc49cd">SYS_Sleep</a> (int)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Makes the current process sleep for some seconds. <a href="#abbd906a9a16166248e32862f67fc49cd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="sys__generic_8h.html#a910a2c6f5b5a4eadf3213bdfdd0b9bb1">SYS_USleep</a> (int)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Makes the current process sleep for some microseconds. <a href="#a910a2c6f5b5a4eadf3213bdfdd0b9bb1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e289250eb322da8a2b160283a726f0c"></a><!-- doxytag: member="sys_generic.h::SYS_Daemon" ref="a7e289250eb322da8a2b160283a726f0c" args="(int, int)" --> int </td><td class="memItemRight" valign="bottom"><b>SYS_Daemon</b> (int, int)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d6430dc22c11ccd2e65eae4e87df947"></a><!-- doxytag: member="sys_generic.h::SYS_RandomInt" ref="a4d6430dc22c11ccd2e65eae4e87df947" args="(int, int)" --> int </td><td class="memItemRight" valign="bottom"><b>SYS_RandomInt</b> (int, int)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3174dccd03a4dd311464d95034724dd9"></a><!-- doxytag: member="sys_generic.h::SYS_GetSeed" ref="a3174dccd03a4dd311464d95034724dd9" args="(void)" --> int </td><td class="memItemRight" valign="bottom"><b>SYS_GetSeed</b> (void)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>This handles abstract system level calls. </p> <p>Definition in file <a class="el" href="sys__generic_8h_source.html">sys_generic.h</a>.</p> </div><hr/><h2>Function Documentation</h2> <a class="anchor" id="abbd906a9a16166248e32862f67fc49cd"></a><!-- doxytag: member="sys_generic.h::SYS_Sleep" ref="abbd906a9a16166248e32862f67fc49cd" args="(int)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int SYS_Sleep </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iTimeVal</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Makes the current process sleep for some seconds. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramdir">[in]</td><td class="paramname">iTimeVal</td><td>Number of seconds to sleep. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="sys__unix_8c_source.html#l00044">44</a> of file <a class="el" href="sys__unix_8c_source.html">sys_unix.c</a>.</p> <p>Referenced by <a class="el" href="pcscdaemon_8c_source.html#l00079">SVCServiceRunLoop()</a>.</p> </div> </div> <a class="anchor" id="a910a2c6f5b5a4eadf3213bdfdd0b9bb1"></a><!-- doxytag: member="sys_generic.h::SYS_USleep" ref="a910a2c6f5b5a4eadf3213bdfdd0b9bb1" args="(int)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int SYS_USleep </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iTimeVal</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Makes the current process sleep for some microseconds. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramdir">[in]</td><td class="paramname">iTimeVal</td><td>Number of microseconds to sleep. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="sys__unix_8c_source.html#l00062">62</a> of file <a class="el" href="sys__unix_8c_source.html">sys_unix.c</a>.</p> <p>Referenced by <a class="el" href="ifdwrapper_8c_source.html#l00145">IFDCloseIFD()</a>, <a class="el" href="winscard_8c_source.html#l01019">SCardBeginTransaction()</a>, <a class="el" href="winscard_8c_source.html#l00209">SCardConnect()</a>, <a class="el" href="winscard_8c_source.html#l00770">SCardDisconnect()</a>, <a class="el" href="winscard__clnt_8c_source.html#l01267">SCardEndTransaction()</a>, <a class="el" href="winscard__clnt_8c_source.html#l01716">SCardGetStatusChange()</a>, <a class="el" href="winscard__clnt_8c_source.html#l00944">SCardReconnect()</a>, <a class="el" href="winscard__clnt_8c_source.html#l01428">SCardStatus()</a>, and <a class="el" href="winscard__clnt_8c_source.html#l02697">SCardTransmit()</a>.</p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Mar 31 2011 for pcsc-lite by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>