2 #include <sys/signal.h>
13 static void D (const char *s
, int sz
, int set
, int export
)
17 res
= printf("%s%s", TABS
, s
);
23 res
= printf("SHORTCHAR");
25 res
= printf("SHORTINT");
30 res
= printf("INTEGER");
34 res
= printf("ARRAY [untagged] 2 OF SET");
36 res
= printf("LONGINT");
39 res
= printf("ARRAY [untagged] ");
42 res
= printf("%d OF SET", sz
/ 4);
44 res
= printf("%d OF INTEGER", sz
/ 4);
47 res
= printf("%d OF SHORTCHAR", sz
);
55 D("PtrVoid", sizeof(void *), FALSE
, TRUE
);
56 D("int", sizeof(int), FALSE
, TRUE
);
57 D("long", sizeof(long), FALSE
, TRUE
);
58 D("ulong", sizeof(unsigned long), FALSE
, TRUE
);
59 D("size_t", sizeof(size_t), FALSE
, TRUE
);
60 D("ssize_t", sizeof(ssize_t
), FALSE
, TRUE
);
61 D("off_t", sizeof(off_t
), FALSE
, TRUE
);
62 D("clock_t", sizeof(clock_t), FALSE
, TRUE
);
63 D("clockid_t", sizeof(clockid_t
), FALSE
, TRUE
);
64 D("time_t", sizeof(time_t), FALSE
, TRUE
);
65 D("mode_t", sizeof(mode_t
), TRUE
, TRUE
);
66 D("pid_t", sizeof(pid_t
), FALSE
, TRUE
);
67 D("uid_t", sizeof(uid_t
), FALSE
, TRUE
);
68 D("gid_t", sizeof(gid_t
), FALSE
, TRUE
);
69 D("dev_t", sizeof(dev_t
), FALSE
, TRUE
);
70 D("ino_t", sizeof(ino_t
), FALSE
, TRUE
);
71 D("nlink_t", sizeof(nlink_t
), FALSE
, TRUE
);
72 D("blkcnt_t", sizeof(blkcnt_t
), FALSE
, FALSE
);
73 D("blksize_t", sizeof(blksize_t
), FALSE
, FALSE
);
74 D("int8_t", sizeof(int8_t), FALSE
, TRUE
);
75 D("u_int8_t", sizeof(u_int8_t
), FALSE
, TRUE
);
76 D("int16_t", sizeof(int16_t), FALSE
, TRUE
);
77 D("u_int16_t", sizeof(u_int16_t
), FALSE
, TRUE
);
78 D("int32_t", sizeof(int32_t), FALSE
, TRUE
);
79 D("u_int32_t", sizeof(u_int32_t
), FALSE
, TRUE
);
80 D("int64_t", sizeof(int64_t), FALSE
, TRUE
);
81 D("u_int64_t", sizeof(u_int64_t
), FALSE
, TRUE
);
82 D("wchar_t", sizeof(wchar_t), FALSE
, TRUE
);
83 D("sigset_t", sizeof(sigset_t
), TRUE
, TRUE
);
84 D("sigjmp_buf", sizeof(sigjmp_buf
), FALSE
, TRUE
);
85 D("intFlags", sizeof(int), TRUE
, TRUE
);
86 D("FILE", sizeof(FILE), FALSE
, FALSE
);