News for hackers. Stuff that matters.
Re:Moving the Linux Kernel to Modern C by eru on Friday February 25, 2022 @02:38AM (#30464601)
Also you have a type system. And even in C function pointers have types.

So you can exclude many things that would in-principle be possible.

Re:Moving the Linux Kernel to Modern C by worthless-trash on Tuesday March 01, 2022 @10:03PM (#30523137)
> C function pointers have types.

I'm not 100% sure, but i remember that i could have have both a two and three function argument be called with the same function pointer, its probably UB however i think that as long as any dereferenced functions adhered to the standard argument behavior of the platform specific calling convention it worked, and i dont think gcc, clang or msvc complained, but my memory might be wrong.