<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Miha Tomšič je napisal(a):
<blockquote
 cite="midd790bfa50612010439ybf61ab5j187cea550ef4423c@mail.gmail.com"
 type="cite">Hojla!
  <br>
  <br>
A ima kdo kakšen dober tutorial za select(), ker mi ni vse jasno?
  <br>
</blockquote>
Poglej si na tem naslovu:<br>
<a class="moz-txt-link-freetext" href="http://www.gnu.org/software/libc/manual/html_node/Waiting-for-I_002fO.html#Waiting-for-I_002fO">http://www.gnu.org/software/libc/manual/html_node/Waiting-for-I_002fO.html#Waiting-for-I_002fO</a><br>
<br>
izgleda nekako takole: <br>
<dl>
  <dt><u>Function:</u> int <b>select</b> <i>(int <var>nfds</var>,
fd_set *<var>read-fds</var>, fd_set *<var>write-fds</var>, fd_set *<var>except-fds</var>,
struct timeval *<var>timeout</var>)</i>
  </dt>
  <dd>The <code>select</code> function blocks the calling process
until there is
activity on any of the specified sets of file descriptors, or until the
timeout period has expired.
    <p>
The file descriptors specified by the <var>read-fds</var> argument are
checked to see if they are ready for reading; the <var>write-fds</var>
file
descriptors are checked to see if they are ready for writing; and the
    <var>except-fds</var> file descriptors are checked for exceptional
conditions. You can pass a null pointer for any of these arguments if
you are not interested in checking for that kind of condition. ...<br>
    </p>
  </dd>
</dl>
<br>
lp<br>
Bojan<br>
</body>
</html>