title: Creating a Timer in C
body: <p>How do I create a timer? A timer like the one in Visual Basic; you set an interval, if the timer is enabled it waits until the time is up.</p>
  
  <p>I don't want to use an existing library because I want to know how it works.</p>
  
  <p>So.. I just hope someone could explain me how timers work and maybe give me an example of code to create my own - if it's not too advanced.</p>
  
  <p>Edit:
  I wanna create one for a linux system.</p>