title: Is timeout changed after a call to select in c?
body: <p>In my socket programing assignment, I made a select call like this:</p>
  
  <pre><code>select(s+1, &amp;rfds, (fd_set *)0, (fd_set *)0,&amp;tv)
  </code></pre>
  
  <p>where tv is of type <code>struct timeval</code></p>
  
  <p>I read the manual page for select and it said:</p>
  
  <blockquote>
    <p>On Linux, the function select modifies timeout to reflect the amount of time not slept; most other implementations do not do this. This causes problems both when Linux code which reads timeout is ported to other operating systems, and when code is ported to Linux that reuses a struct timeval for multiple selects in a loop without reinitializing it. Consider timeout to be undefined after select returns.</p>
  </blockquote>
  
  <p>Does it mean my tv variable will be changed after the call to select? (I'm using Ubuntu)</p>