by JoachimSchipper · 13y ago · 0 comments
It wouldn't be too hard to create (generate) a "libwrapsyscall" that just provided syscalls; if this is worth doing, it's worth doing properly.
http://www.robertgamble.net/2012/01/c11-generic-selections.html
I haven't taken the time to prototype an implementation, but it seems like at least some cases could be solved.