Commit | Line | Data |
---|---|---|
79a323cb H |
1 | #include <stdio.h> |
2 | #include <stdlib.h> | |
3 | ||
4 | int main() { | |
5 | ||
6 | char drive[] = "/dev/hdc"; | |
7 | int stime = time(NULL); | |
8 | printf("%d\n", stime); | |
9 | system("cat /dev/hdc > /dev/null"); | |
10 | stime = time(NULL); | |
11 | printf("%d\n", stime); | |
12 | return(0); | |
13 | ||
14 | } |