File: torture.c

package info (click to toggle)
ttyplot 1.4%2B77.g1a1693b-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 144 kB
  • sloc: ansic: 311; makefile: 36
file content (23 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// torture ttyplot
//
// License: Apache 2.0
//

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>

int main() {

    srand(time(NULL));

    for(;;) {
        printf("%d %d\n", rand()%100,rand()%100);
        fflush(stdout);
        //usleep(20000);
    }

    return 0;
}