re-enable munmap().
[minix.git] / commands / ibm / atnormalize.c
blobf27dd14c49009671c68494627505ca79adb3f184
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 <a.out.h>
16 #include <sys/stat.h>
17 #include <sys/wait.h>
18 #include <sys/ioctl.h>
19 #include <minix/config.h>
20 #include <minix/const.h>
21 #include <minix/partition.h>
22 #include <minix/u64.h>
23 #include <ibm/partition.h>
24 #include <termios.h>
25 #include <stdarg.h>
27 int main(void)
29 int v, d;
30 char name[20];
32 for(d = 0; d < 4; d++) {
33 int device;
34 sprintf(name, "/dev/c0d%d", d);
35 if((device=open(name, O_RDONLY)) >= 0) {
36 v = 0;
37 ioctl(device, DIOCTIMEOUT, &v);
38 close(device);
42 return 0;