]>
Commit | Line | Data |
---|---|---|
91523915 MF |
1 | /* Test module for quick hacking. */ |
2 | ||
3 | #define _GNU_SOURCE | |
362c4dd2 MF |
4 | #define _LARGEFILE_SOURCE |
5 | #define _LARGEFILE64_SOURCE | |
6 | #define _FILE_OFFSET_BITS 64 | |
91523915 | 7 | |
91760b4b | 8 | #include <termios.h> |
91523915 MF |
9 | #include <assert.h> |
10 | #include <dirent.h> | |
11 | #include <elf.h> | |
cd7a7013 | 12 | #include <err.h> |
91523915 MF |
13 | #include <errno.h> |
14 | #include <fcntl.h> | |
15 | #include <float.h> | |
91760b4b | 16 | #include <getopt.h> |
ebe1c592 | 17 | #include <grp.h> |
91523915 MF |
18 | #include <inttypes.h> |
19 | #include <langinfo.h> | |
20 | #include <limits.h> | |
21 | #include <locale.h> | |
2be5775d | 22 | #include <pthread.h> |
ebe1c592 | 23 | #include <pwd.h> |
91523915 MF |
24 | #include <regex.h> |
25 | #include <signal.h> | |
9eafdcc1 | 26 | #include <stdarg.h> |
91523915 MF |
27 | #include <stdbool.h> |
28 | #include <stddef.h> | |
29 | #include <stdint.h> | |
30 | #include <stdio.h> | |
31 | #include <stdlib.h> | |
32 | #include <string.h> | |
33 | #include <time.h> | |
34 | #include <unistd.h> | |
2be5775d | 35 | #include <wchar.h> |
91523915 MF |
36 | |
37 | #include <arpa/inet.h> | |
38 | #include <netinet/in.h> | |
39 | ||
ebe1c592 | 40 | #ifdef __linux__ |
2be5775d | 41 | #include <sys/auxv.h> |
91523915 | 42 | #include <sys/epoll.h> |
9eafdcc1 | 43 | #include <sys/mman.h> |
cd7a7013 | 44 | #include <sys/mount.h> |
2be5775d | 45 | #include <sys/prctl.h> |
91523915 MF |
46 | #include <sys/signalfd.h> |
47 | #include <sys/socket.h> | |
48 | #include <sys/stat.h> | |
cd7a7013 | 49 | #include <sys/syscall.h> |
91523915 MF |
50 | #include <sys/time.h> |
51 | #include <sys/types.h> | |
52 | #include <sys/un.h> | |
53 | #include <sys/wait.h> | |
ebe1c592 | 54 | #endif |
91523915 | 55 | |
cd7a7013 MF |
56 | #if defined(__i386__) || defined(__x86_64__) |
57 | #include <cpuid.h> | |
58 | #endif | |
59 | ||
91523915 MF |
60 | int main(int argc, char *argv[]) |
61 | { | |
62 | } |