https://github.com/jdomzhang/zigwithc
The document at website has more details about how Zig interop with C