#include <sys/types.h>#include <sys/ioc_disk.h>#include <minix/partition.h>#include <minix/u64.h>#include <time.h>#include <fcntl.h>#include <unistd.h>#include <stdlib.h>#include <stdio.h>Go to the source code of this file.
Defines | |
| #define | CHUNK 25 |
| #define | BLOCK_SIZE 1024 |
| #define | RESUME 200 |
| #define | DIVISOR 1000 |
| #define | STORE 4096 |
| #define | WIDTH 77 |
Functions | |
| _PROTOTYPE (int main,(int argc, char **argv)) | |
| void | prettyprogress (long b, long nblocks, time_t starttime) |
| int | main (int argc, argv) |
Variables | |
| int | chunk = CHUNK |
| long | goodies |
| long | errors |
| int | normal = 1 |
| int | total = 0 |
| char * | name |
| char | a [CHUNK *BLOCK_SIZE] |
| long | rotten [STORE] |
| #define WIDTH 77 |
| _PROTOTYPE | ( | int | main, | |
| (int argc, char **argv) | ||||
| ) |
| void prettyprogress | ( | long | b, | |
| long | nblocks, | |||
| time_t | starttime | |||
| ) |
1.5.8