Binary compatibility is generally an ability of two hardware/software systems to run the same binary code without the need to recompile.
I have some experience writing C libraries but I've never read any formal documents describing good practices while writing such …
c linux memory-management shared-libraries binary-compatibility