3 ms·
Can't you write C functions that invoke the cmsg macros and call them from C#?
by kragen 5y ago
Can't you write C functions that invoke the cmsg macros and call them from C#?
- Const-me 5y agoSure, but that complicates things. I have reverse-engineered the macros instead. They aren't terribly complicated, they simply rounding up some of the pointers by sizeof(void*).
- kragen 5y agoThat's probably reasonable. The Linux kernel has historically been very good about not breaking existing compiled code by changing ABIs like this.