Home | History | Annotate | Line # | Download | only in cgi
      1 #include <stdio.h>
      2 #include <unistd.h>
      3 
      4 int main() {
      5     int i;
      6     for (i = 0; i < 10; i++) {
      7         printf("tick\n");
      8         fflush(stdout);
      9         sleep(1);
     10     }
     11     printf("BOOM!\n");
     12     return 0;
     13 }
     14