Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / layer7 / protocols / testing / randprintable.c
blob0c666cc50b43f728829e48450b8d75f0eee5faa3
1 #include <stdio.h>
2 #include <ctype.h>
3 #include <stdlib.h>
4 #include <time.h>
5 #include <unistd.h>
7 int main()
9 char c;
10 srand(time(NULL) * getpid());
12 while(1)
14 c = (char)rand()%256;
15 if(isprint(c) || isspace(c))
17 printf("%c", c);
20 return 0;