diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-17 18:27:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-17 18:27:18 +0000 |
commit | 0c33b73db0266f03271340596806423a9ecad66e (patch) | |
tree | 82fcdb0a78217de23594ba3c307f0a35454362b7 /util/fuzz.c | |
parent | 8dc73f2df54ccb0c019e5e5a96ae238765158b0c (diff) | |
download | rtmux-0c33b73db0266f03271340596806423a9ecad66e.tar.gz rtmux-0c33b73db0266f03271340596806423a9ecad66e.tar.bz2 rtmux-0c33b73db0266f03271340596806423a9ecad66e.zip |
Move some crap into the attic, and some other stuff into tools/.
Diffstat (limited to 'util/fuzz.c')
-rw-r--r-- | util/fuzz.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/util/fuzz.c b/util/fuzz.c deleted file mode 100644 index 16b01df5..00000000 --- a/util/fuzz.c +++ /dev/null @@ -1,31 +0,0 @@ -#include <sys/types.h> - -#include <stdio.h> -#include <stdlib.h> -#include <time.h> -#include <unistd.h> - -int -main(void) -{ - time_t t; - int i; - - setvbuf(stdout, NULL, _IONBF, 0); - - t = time(NULL); - srandom((u_int) t); - - for (;;) { - putchar('\033'); - - for (i = 0; i < random() % 25; i++) { - if (i > 22) - putchar(';'); - else - putchar(random() % 256); - } - - //usleep(100); - } -} |