]> granicus.if.org Git - strace/blob - exit.c
Fix ioctl entries on 32-bit architectures with 64-bit aligned structures
[strace] / exit.c
1 #include "defs.h"
2
3 SYS_FUNC(exit)
4 {
5         if (exiting(tcp)) {
6                 fprintf(stderr, "_exit returned!\n");
7                 return -1;
8         }
9         /* special case: we stop tracing this process, finish line now */
10         tprintf("%ld) ", tcp->u_arg[0]);
11         tabto();
12         tprints("= ?\n");
13         line_ended();
14         return 0;
15 }