Advertisement
paulogp

Sleep

Jul 13th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. /* Utilização da função "Sleep". Necessita da livraria "unistd.h" para manter a funcionalidade no standard C99. */
  2.  
  3.  
  4. #include <stdio.h>
  5. #include <unistd.h> //para maneter compatibilidade com o C99
  6.  
  7. int main (int argc, const char * argv[])
  8. {
  9.     printf("Hello, World!\n");
  10.     sleep(10);
  11.  
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement