| 1 | // Source: https://en.wikipedia.org/wiki/C_standard_library#Header_files |
| 2 | #include <assert.h> |
| 3 | #include <complex.h> |
| 4 | #include <ctype.h> |
| 5 | #include <errno.h> |
| 6 | #include <fenv.h> |
| 7 | #include <float.h> |
| 8 | #include <getopt.h> |
| 9 | #include <inttypes.h> |
| 10 | #include <iso646.h> |
| 11 | #include <limits.h> |
| 12 | #include <locale.h> |
| 13 | #include <math.h> |
| 14 | #include <setjmp.h> |
| 15 | #include <signal.h> |
| 16 | #include <stdalign.h> |
| 17 | #include <stdarg.h> |
| 18 | #include <stdatomic.h> |
| 19 | #include <stdbool.h> |
| 20 | #include <stddef.h> |
| 21 | #include <stdint.h> |
| 22 | #include <stdio.h> |
| 23 | #include <stdlib.h> |
| 24 | #include <stdnoreturn.h> |
| 25 | #include <string.h> |
| 26 | #include <tgmath.h> |
| 27 | #include <time.h> |
| 28 | #include <wchar.h> |
| 29 | #include <wctype.h> |
| 30 | |
| 31 | // Source: https://en.wikipedia.org/wiki/C_standard_library#BSD_libc |
| 32 | #include <fts.h> |
| 33 | #include <db.h> |
| 34 | #include <err.h> |
| 35 | #include <vis.h> |
| 36 | |
| 37 | // Source: https://en.wikipedia.org/wiki/C_POSIX_library |
| 38 | #include <aio.h> |
| 39 | #include <arpa/inet.h> |
| 40 | #include <assert.h> |
| 41 | #include <complex.h> |
| 42 | #include <cpio.h> |
| 43 | #include <ctype.h> |
| 44 | #include <dirent.h> |
| 45 | #include <dlfcn.h> |
| 46 | #include <errno.h> |
| 47 | #include <fcntl.h> |
| 48 | #include <fenv.h> |
| 49 | #include <float.h> |
| 50 | #include <fmtmsg.h> |
| 51 | #include <fnmatch.h> |
| 52 | #include <ftw.h> |
| 53 | #include <glob.h> |
| 54 | #include <grp.h> |
| 55 | #include <iconv.h> |
| 56 | #include <inttypes.h> |
| 57 | #include <iso646.h> |
| 58 | #include <langinfo.h> |
| 59 | #include <libgen.h> |
| 60 | #include <limits.h> |
| 61 | #include <locale.h> |
| 62 | #include <math.h> |
| 63 | #include <monetary.h> |
| 64 | /* #include <mqueue.h> - not found on macos catalina */ |
| 65 | #include <ndbm.h> |
| 66 | #include <net/if.h> |
| 67 | #include <netdb.h> |
| 68 | #include <netinet/in.h> |
| 69 | #include <netinet/ip.h> |
| 70 | #include <netinet/tcp.h> |
| 71 | #include <netinet/udp.h> |
| 72 | #include <nl_types.h> |
| 73 | #include <poll.h> |
| 74 | #include <pthread.h> |
| 75 | #include <pwd.h> |
| 76 | #include <regex.h> |
| 77 | #include <sched.h> |
| 78 | #include <search.h> |
| 79 | #include <semaphore.h> |
| 80 | #include <setjmp.h> |
| 81 | #include <signal.h> |
| 82 | #include <spawn.h> |
| 83 | #include <stdarg.h> |
| 84 | #include <stdbool.h> |
| 85 | #include <stddef.h> |
| 86 | #include <stdint.h> |
| 87 | #include <stdio.h> |
| 88 | #include <stdlib.h> |
| 89 | #include <string.h> |
| 90 | #include <strings.h> |
| 91 | /* #include <stropts.h> - not found on macos catalina */ |
| 92 | #include <sys/ipc.h> |
| 93 | #include <sys/mman.h> |
| 94 | #include <sys/msg.h> |
| 95 | #include <sys/random.h> |
| 96 | #include <sys/resource.h> |
| 97 | #include <sys/select.h> |
| 98 | #include <sys/sem.h> |
| 99 | #include <sys/shm.h> |
| 100 | #include <sys/socket.h> |
| 101 | #include <sys/stat.h> |
| 102 | #include <sys/statvfs.h> |
| 103 | #include <sys/time.h> |
| 104 | #include <sys/times.h> |
| 105 | #include <sys/timex.h> |
| 106 | #include <sys/types.h> |
| 107 | #include <sys/uio.h> |
| 108 | #include <sys/un.h> |
| 109 | #include <sys/utsname.h> |
| 110 | #include <sys/wait.h> |
| 111 | #include <syslog.h> |
| 112 | #include <tar.h> |
| 113 | #include <termios.h> |
| 114 | #include <tgmath.h> |
| 115 | #include <time.h> |
| 116 | /* #include <trace.h> - not found on macos catalina */ |
| 117 | #define _XOPEN_SOURCE |
| 118 | #include <ucontext.h> |
| 119 | #undef _XOPEN_SOURCE |
| 120 | #include <ulimit.h> |
| 121 | #include <unistd.h> |
| 122 | #include <utime.h> |
| 123 | #include <utmpx.h> |
| 124 | #include <wchar.h> |
| 125 | #include <wctype.h> |
| 126 | #include <wordexp.h> |
| 127 | |
| 128 | // macOS system headers |
| 129 | #include <mach/clock.h> |
| 130 | #include <mach/exception.h> |
| 131 | #include <mach/mach.h> |
| 132 | #include <mach/mach_time.h> |
| 133 | #include <mach/thread_state.h> |
| 134 | #include <mach/vm_param.h> |
| 135 | #include <sys/acl.h> |
| 136 | #include <sys/attr.h> |
| 137 | #include <sys/ioctl.h> |
| 138 | #include <sys/mount.h> |
| 139 | #include <sys/param.h> |
| 140 | #include <sys/sysctl.h> |
| 141 | #include <sys/clonefile.h> |
| 142 | #include <libproc.h> |
| 143 | |
| 144 | // Mach-O headers |
| 145 | #include <mach-o/arch.h> |
| 146 | #include <mach-o/compact_unwind_encoding.h> |
| 147 | #include <mach-o/dyld.h> |
| 148 | #include <mach-o/dyld_images.h> |
| 149 | #include <mach-o/fat.h> |
| 150 | #include <mach-o/fixup-chains.h> |
| 151 | #include <mach-o/getsect.h> |
| 152 | #include <mach-o/ldsyms.h> |
| 153 | #include <mach-o/loader.h> |
| 154 | #include <mach-o/nlist.h> |
| 155 | #include <mach-o/ranlib.h> |
| 156 | #include <mach-o/reloc.h> |
| 157 | #include <mach-o/stab.h> |
| 158 | #include <mach-o/swap.h> |
| 159 | #include <mach-o/utils.h> |
| 160 | |
| 161 | #include <mach-o/arm/reloc.h> |
| 162 | #include <mach-o/arm64/reloc.h> |
| 163 | #include <mach-o/x86_64/reloc.h> |
| 164 | |
| 165 | // Depended on by libcxx |
| 166 | #include <Block.h> |
| 167 | #include <xlocale.h> |
| 168 | #include <copyfile.h> |
| 169 | #include <ar.h> |
| 170 | |
| 171 | // Depended on by LLVM |
| 172 | #include <sysexits.h> |
| 173 | #include <crt_externs.h> |
| 174 | #include <execinfo.h> |
| 175 | |
| 176 | // Depended on by several frameworks |
| 177 | #include <AssertMacros.h> |
| 178 | #include <device/device_types.h> |
| 179 | #include <dispatch/dispatch.h> |
| 180 | #include <hfs/hfs_format.h> |
| 181 | #include <hfs/hfs_unistr.h> |
| 182 | #include <libkern/OSAtomic.h> |
| 183 | #include <libkern/OSAtomicQueue.h> |
| 184 | #include <libkern/OSByteOrder.h> |
| 185 | #include <libkern/OSCacheControl.h> |
| 186 | #include <libkern/OSDebug.h> |
| 187 | #include <libkern/OSKextLib.h> |
| 188 | #include <libkern/OSReturn.h> |
| 189 | #include <libkern/OSThermalNotification.h> |
| 190 | #include <libkern/OSTypes.h> |
| 191 | #include <MacTypes.h> |
| 192 | #include <os/lock.h> |
| 193 | #include <simd/simd.h> |
| 194 | #include <xpc/xpc.h> |
| 195 | #include <CommonCrypto/CommonCrypto.h> |
| 196 | #include <CommonCrypto/CommonRandom.h> // Not included by CommonCrypto.h |
| 197 | |
| 198 | #include <objc/message.h> |
| 199 | #include <objc/NSObject.h> |
| 200 | #include <objc/NSObjCRuntime.h> |
| 201 | #include <objc/objc.h> |
| 202 | #include <objc/objc-runtime.h> |
| 203 | |
| 204 | // Depended on by libuv |
| 205 | #include <paths.h> |
| 206 | #include <ifaddrs.h> |
| 207 | #include <net/if_dl.h> |
| 208 | #include <sys/paths.h> |
| 209 | |
| 210 | // Depended on by sqlite-amalgamation |
| 211 | #include <sys/file.h> |
| 212 | #include <malloc/malloc.h> |
| 213 | |
| 214 | // Provided by macOS LibC |
| 215 | #include <memory.h> |
| 216 | #include <zlib.h> |
| 217 | |
| 218 | int main(int argc, char **argv) { |
| 219 | return 0; |
| 220 | } |