Home | History | Annotate | Download | only in auxprogs

Lines Matching full:printf

29    printf ("aix5_VKI_info: sizeof(void*) = %d\n", (int)sizeof(void*));
31 printf("/* ---------------- Errors ---------------- */\n");
32 printf("\n");
33 printf("#define VKI_EINVAL %d\n", EINVAL);
34 printf("#define VKI_EINTR %d\n", EINTR);
35 printf("#define VKI_ENOSYS %d\n", ENOSYS);
36 printf("#define VKI_EAGAIN %d\n", EAGAIN);
37 printf("#define VKI_ENOMEM %d\n", ENOMEM);
38 printf("#define VKI_EACCES %d\n", EACCES);
39 printf("#define VKI_EEXIST %d\n", EEXIST);
40 printf("#define VKI_EPERM %d\n", EPERM);
41 printf("#define VKI_ENOENT %d\n", ENOENT);
42 printf("#define VKI_ESRCH %d\n", ESRCH);
43 printf("#define VKI_EBADF %d\n", EBADF);
44 printf("#define VKI_EFAULT %d\n", EFAULT);
45 printf("#define VKI_EMFILE %d\n", EMFILE);
46 printf("#define VKI_ECHILD %d\n", ECHILD);
47 printf("#define VKI_EOVERFLOW %d\n", EOVERFLOW);
48 printf("\n");
49 printf("/* ---------------- File I/O ---------------- */\n");
50 printf("\n");
51 printf("#define VKI_O_WRONLY 0x%08x\n", O_WRONLY);
52 printf("#define VKI_O_RDONLY 0x%08x\n", O_RDONLY);
53 printf("#define VKI_O_APPEND 0x%08x\n", O_APPEND);
54 printf("#define VKI_O_CREAT 0x%08x\n", O_CREAT);
55 printf("#define VKI_O_RDWR 0x%08x\n", O_RDWR);
56 printf("#define VKI_O_EXCL 0x%08x\n", O_EXCL);
57 printf("#define VKI_O_TRUNC 0x%08x\n", O_TRUNC);
58 printf("\n");
59 printf("#define VKI_S_IRUSR 0x%08x\n", S_IRUSR);
60 printf("#define VKI_S_IXUSR 0x%08x\n", S_IXUSR);
61 printf("#define VKI_S_IXGRP 0x%08x\n", S_IXGRP);
62 printf("#define VKI_S_IXOTH 0x%08x\n", S_IXOTH);
63 printf("#define VKI_S_IWUSR 0x%08x\n", S_IWUSR);
64 printf("#define VKI_S_IWOTH 0x%08x\n", S_IWOTH);
65 printf("#define VKI_S_ISUID 0x%08x\n", S_ISUID);
66 printf("#define VKI_S_ISGID 0x%08x\n", S_ISGID);
67 printf("#define VKI_S_IFMT 0x%08x\n", S_IFMT);
68 printf("#define VKI_S_IFDIR 0x%08x\n", S_IFDIR);
69 printf("#define VKI_S_IFCHR 0x%08x\n", S_IFCHR);
70 printf("#define VKI_S_IFBLK 0x%08x\n", S_IFBLK);
71 printf("\n");
72 printf("#define VKI_F_DUPFD 0x%08x\n", F_DUPFD);
73 printf("#define VKI_F_SETFD 0x%08x\n", F_SETFD);
74 printf("#define VKI_FD_CLOEXEC 0x%08x\n", FD_CLOEXEC);
75 printf("\n");
76 printf("#define VKI_R_OK 0x%08x\n", R_OK);
77 printf("#define VKI_W_OK 0x%08x\n", W_OK);
78 printf("#define VKI_X_OK 0x%08x\n", X_OK);
82 printf("\nsizeof(struct stat) = %d\n", (int)sizeof(struct stat));
84 printf(" st_size: off %2d sz %d\n",
88 printf(" st_mode: off %2d sz %d\n",
92 printf(" st_uid: off %2d sz %d\n",
96 printf(" st_gid: off %2d sz %d\n",
100 printf(" st_dev: off %2d sz %d\n",
104 printf(" st_ino: off %2d sz %d\n",
108 printf("\n");
109 printf("#define VKI_STX_NORMAL %d\n", (int)STX_NORMAL);
110 printf("\n");
111 printf("sizeof(size_t) = %d\n", (int)sizeof(size_t) );
112 printf("\n");
113 printf("#define VKI_SEEK_SET %d\n", SEEK_SET);
114 printf("#define VKI_PATH_MAX %d\n", PATH_MAX);
118 printf("\nsizeof(struct iovec) = %d\n", (int)sizeof(struct iovec));
119 printf(" iov_base: off %2d sz %d\n",
122 printf(" iov_len: off %2d sz %d\n",
126 printf("\n");
127 printf("#define _VKI_IOC_NONE %d\n", 3 & (IOC_VOID >> 30));
128 printf("#define _VKI_IOC_READ %d\n", 3 & (IOC_OUT >> 30));
129 printf("#define _VKI_IOC_WRITE %d\n", 3 & (IOC_IN >> 30));
130 printf("\n");
131 printf("/* ---------------- MMappery ---------------- */\n");
132 printf("\n");
133 printf("#define VKI_PAGE_SIZE %d\n", (int)sysconf(_SC_PAGESIZE));
134 printf("\n");
135 printf("#define VKI_PROT_NONE 0x%08x\n", PROT_NONE);
136 printf("#define VKI_PROT_READ 0x%08x\n", PROT_READ);
137 printf("#define VKI_PROT_WRITE 0x%08x\n", PROT_WRITE);
138 printf("#define VKI_PROT_EXEC 0x%08x\n", PROT_EXEC);
139 printf("\n");
140 printf("#define VKI_MAP_FIXED 0x%08x\n", MAP_FIXED);
141 printf("#define VKI_MAP_PRIVATE 0x%08x\n", MAP_PRIVATE);
142 printf("#define VKI_MAP_ANONYMOUS 0x%08x\n", MAP_ANONYMOUS);
143 printf("\n");
144 printf("/* ---------------- RLimitery ---------------- */\n");
145 printf("\n");
146 printf("#define VKI_RLIMIT_DATA 0x%08x\n", RLIMIT_DATA);
147 printf("#define VKI_RLIMIT_NOFILE 0x%08x\n", RLIMIT_NOFILE);
148 printf("#define VKI_RLIMIT_STACK 0x%08x\n", RLIMIT_STACK);
149 printf("#define VKI_RLIMIT_CORE 0x%08x\n", RLIMIT_CORE);
153 printf("\nsizeof(struct rlimit) = %d\n", (int)sizeof(struct rlimit));
154 printf(" rlim_cur: off %2d sz %d\n",
157 printf(" rlim_max: off %2d sz %d\n",
160 printf("\n");
161 printf("/* ---------------- Time ---------------- */\n");
162 printf("\n");
166 printf("sizeof(struct timeval) = %d\n", (int)sizeof(struct timeval));
167 printf(" tv_sec: off %2d sz %d\n",
170 printf(" tv_usec: off %2d sz %d\n",
176 printf("\nsizeof(struct timespec) = %d\n", (int)sizeof(struct timespec));
177 printf(" tv_sec: off %2d sz %d\n",
180 printf(" tv_nsec: off %2d sz %d\n",
184 printf("\n");
185 printf("/* ---------------- Signals ---------------- */\n");
186 printf("\n");
187 printf("#define _VKI_NSIG %ld\n", 8 * sizeof(sigset_t) );
188 printf("\n");
189 printf("#define VKI_SIGSEGV %d\n", SIGSEGV);
190 printf("#define VKI_SIGBUS %d\n", SIGBUS);
191 printf("#define VKI_SIGFPE %d\n", SIGFPE);
192 printf("#define VKI_SIGHUP %d\n", SIGHUP);
193 printf("#define VKI_SIGINT %d\n", SIGINT);
194 printf("#define VKI_SIGQUIT %d\n", SIGQUIT);
195 printf("#define VKI_SIGABRT %d\n", SIGABRT);
196 printf("#define VKI_SIGUSR1 %d\n", SIGUSR1);
197 printf("#define VKI_SIGUSR2 %d\n", SIGUSR2);
198 printf("#define VKI_SIGPIPE %d\n", SIGPIPE);
199 printf("#define VKI_SIGALRM %d\n", SIGALRM);
200 printf("#define VKI_SIGTERM %d\n", SIGTERM);
201 printf("/* VKI_SIGSTKFLT does not exist on AIX 5.2 */\n");
202 printf("#define VKI_SIGTTIN %d\n", SIGTTIN);
203 printf("#define VKI_SIGTTOU %d\n", SIGTTOU);
204 printf("#define VKI_SIGXCPU %d\n", SIGXCPU);
205 printf("#define VKI_SIGXFSZ %d\n", SIGXFSZ);
206 printf("#define VKI_SIGVTALRM %d\n", SIGVTALRM);
207 printf("#define VKI_SIGPROF %d\n", SIGPROF);
208 printf("#define VKI_SIGIO %d\n", SIGIO);
209 printf("#define VKI_SIGPWR %d\n", SIGPWR);
210 printf("/* VKI_SIGUNUSED does not exist on AIX 5.2 */\n");
211 printf("#define VKI_SIGRTMIN %d\n", SIGRTMIN);
212 printf("#define VKI_SIGRTMAX %d\n", SIGRTMAX);
213 printf("#define VKI_SIGTRAP %d\n", SIGTRAP);
214 printf("#define VKI_SIGCONT %d\n", SIGCONT);
215 printf("#define VKI_SIGCHLD %d\n", SIGCHLD);
216 printf("#define VKI_SIGWINCH %d\n", SIGWINCH);
217 printf("#define VKI_SIGURG %d\n", SIGURG);
218 printf("#define VKI_SIGILL %d\n", SIGILL);
219 printf("#define VKI_SIGSTOP %d\n", SIGSTOP);
220 printf("#define VKI_SIGKILL %d\n", SIGKILL);
221 printf("#define VKI_SIGTSTP %d\n", SIGTSTP);
222 printf("#define VKI_SIGSYS %d\n", SIGSYS);
226 printf("\n");
227 printf("sizeof(struct sigaction) = %d\n", (int)sizeof(struct sigaction));
228 printf(" sa_handler: off %2d sz %d\n",
231 printf(" sa_mask: off %2d sz %d\n",
234 printf(" sa_flags: off %2d sz %d\n",
237 printf("sa_sigaction: off %2d sz %d\n",
240 printf("\n");
241 printf("#define VKI_SA_ONSTACK %d\n",SA_ONSTACK );
242 printf("#define VKI_SA_RESTART %d\n",SA_RESTART );
243 printf("#define VKI_SA_RESETHAND %d\n",SA_RESETHAND );
244 printf("#define VKI_SA_SIGINFO %d\n",SA_SIGINFO);
245 printf("#define VKI_SA_NODEFER %d\n",SA_NODEFER );
246 // printf("#define VKI_SA_NOMASK %d\n",SA_NOMASK ) ;
247 // printf("#define VKI_SA_ONESHOT %d\n",SA_ONESHOT );
248 printf("#define VKI_SA_NOCLDSTOP %d\n",SA_NOCLDSTOP );
249 printf("#define VKI_SA_NOCLDWAIT %d\n",SA_NOCLDWAIT );
250 // printf("#define VKI_SA_RESTORER %d\n",SA_RESTORER );
251 printf("\n");
252 printf("#define VKI_SS_ONSTACK %d\n",SS_ONSTACK );
253 printf("#define VKI_SS_DISABLE %d\n",SS_DISABLE );
254 printf("\n");
255 printf("#define VKI_MINSIGSTKSZ %ld\n",MINSIGSTKSZ );
256 printf("\n");
257 printf("#define VKI_SI_USER %d\n",SI_USER );
258 printf("\n");
259 printf("#define VKI_SIG_BLOCK %d\n",SIG_BLOCK );
260 printf("#define VKI_SIG_SETMASK %d\n",SIG_SETMASK );
261 printf("#define VKI_SIG_UNBLOCK %d\n",SIG_UNBLOCK );
262 printf("#define VKI_SIG_IGN (void*)%d\n",(int)SIG_IGN );
263 printf("#define VKI_SIG_DFL (void*)%d\n",(int)SIG_DFL );
264 printf("\n");
265 // printf("#define VKI_SI_TKILL %d\n",SI_TKILL );
266 printf("#define VKI_SI_USER %d\n",SI_USER );
267 printf("\n");
268 printf("#define VKI_SEGV_ACCERR %d\n", SEGV_ACCERR);
269 printf("#define VKI_SEGV_MAPERR %d\n", SEGV_MAPERR);
270 printf("\n");
271 printf("#define VKI_TRAP_TRACE %d\n", TRAP_TRACE);
272 printf("#define VKI_TRAP_BRKPT %d\n", TRAP_BRKPT);
273 printf("#define VKI_BUS_OBJERR %d\n", BUS_OBJERR);
274 printf("#define VKI_BUS_ADRERR %d\n", BUS_ADRERR);
275 printf("#define VKI_BUS_ADRALN %d\n", BUS_ADRALN);
276 printf("#define VKI_FPE_FLTSUB %d\n", FPE_FLTSUB);
277 printf("#define VKI_FPE_FLTINV %d\n", FPE_FLTINV);
278 printf("#define VKI_FPE_FLTRES %d\n", FPE_FLTRES);
279 printf("#define VKI_FPE_FLTUND %d\n", FPE_FLTUND);
280 printf("#define VKI_FPE_FLTOVF %d\n", FPE_FLTOVF);
281 printf("#define VKI_FPE_FLTDIV %d\n", FPE_FLTDIV);
282 printf("#define VKI_FPE_INTOVF %d\n", FPE_INTOVF);
283 printf("#define VKI_FPE_INTDIV %d\n", FPE_INTDIV);
284 printf("\n");
285 printf("#define VKI_ILL_BADSTK %d\n", ILL_BADSTK);
286 printf("#define VKI_ILL_COPROC %d\n", ILL_COPROC);
287 printf("#define VKI_ILL_PRVREG %d\n", ILL_PRVREG);
288 printf("#define VKI_ILL_PRVOPC %d\n", ILL_PRVOPC);
289 printf("#define VKI_ILL_ILLTRP %d\n", ILL_ILLTRP);
290 printf("#define VKI_ILL_ILLADR %d\n", ILL_ILLADR);
291 printf("#define VKI_ILL_ILLOPN %d\n", ILL_ILLOPN);
292 printf("#define VKI_ILL_ILLOPC %d\n", ILL_ILLOPC);
296 printf("\nsizeof(siginfo_t) = %d\n", (int)sizeof(siginfo_t));
297 printf(" si_signo: off %2d sz %d\n",
300 printf(" si_code: off %2d sz %d\n",
303 printf(" si_pid: off %2d sz %d\n",
306 printf(" si_addr: off %2d sz %d\n",
312 printf("\nsizeof(stack_t) = %d\n", (int)sizeof(stack_t));
313 printf(" ss_sp: off %2d sz %d\n",
316 printf(" ss_size: off %2d sz %d\n",
319 printf(" ss_flags: off %2d sz %d\n",
323 printf("\n");
324 printf("/* ---------------- Misc ---------------- */\n");
325 printf("\n");
326 printf("#define VKI_PTRACE_TRACEME %d\n", PT_TRACE_ME);
327 printf("#define VKI_PTRACE_DETACH %d\n", PT_DETACH);
328 printf("\n");
331 printf("#define VKI_ %d\n", );
332 printf("#define VKI_ %d\n", );
333 printf("#define VKI_ %d\n", );
334 printf("#define VKI_ %d\n", );
336 printf("#define VKI_ 0x%08x\n", );
337 printf("#define VKI_ 0x%08x\n", );
338 printf("#define VKI_ 0x%08x\n", );
339 printf("#define VKI_ 0x%08x\n", );