VM: restore >4k secondary cache functionality
[minix.git] / commands / atnormalize / atnormalize.c
bloba1e66fe1d7ac0ab376b364858700601bf8f802f3
1 #include <sys/types.h>
2 #include <stdio.h>
3 #include <termcap.h>
4 #include <errno.h>
5 #include <unistd.h>
6 #include <stddef.h>
7 #include <ctype.h>
8 #include <stdlib.h>
9 #include <string.h>
10 #include <signal.h>
11 #include <fcntl.h>
12 #include <time.h>
13 #include <dirent.h>
14 #include <limits.h>
15 #include <sys/stat.h>
16 #include <sys/wait.h>
17 #include <sys/ioctl.h>
18 #include <minix/config.h>
19 #include <minix/const.h>
20 #include <minix/partition.h>
21 #include <minix/u64.h>
22 #include <machine/partition.h>
23 #include <termios.h>
24 #include <stdarg.h>
26 int main(void)
28 int v, d;
29 char name[20];
31 for(d = 0; d < 4; d++) {
32 int device;
33 sprintf(name, "/dev/c0d%d", d);
34 if((device=open(name, O_RDONLY)) >= 0) {
35 v = 0;
36 ioctl(device, DIOCTIMEOUT, &v);
37 close(device);
41 return 0;