diff options
Diffstat (limited to 'libc/tests/rand.c')
-rw-r--r-- | libc/tests/rand.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libc/tests/rand.c b/libc/tests/rand.c deleted file mode 100644 index c4fc6d2..0000000 --- a/libc/tests/rand.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <stdio.h> - -FILE * popen(); - -main() -{ - FILE * fd = popen("./hd", "w"); - int ch; - - srand(time((void*)0)); - - for(ch=0; ch<256; ch++) - putc(rand(), fd); - - pclose(fd); -} |