This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bqn | |
# linux only. | |
# Only tested on one 64 bit machine. | |
# a lot of macros were manually resolved | |
# by using the c version of this: https://gist.github.com/jdah/08eb80c74b13176027c08cbf48b239c9 | |
# and `clang -E server.c > test.c`, and finally looking | |
# through test.c and finding the actual values of macros. | |
# I have no idea if the macros are machine-independant or not | |
# the size of some ints could be different on 32 bit machines. |