Originally Posted by atulsvasu
There is no such support from gcc [pretty certain]
That's too bad to hear. I appreciate your practical advice, atulsvasu - I didn't know all these points. Sadly, as efficient as the scheme to which you refer can become, it requires working with the Linux API (Nothing wrong with that per se).
I guess what I really should have asked to simplify the issue was, "Is there a gcc API in C?"
Unfortunately, if I haven't found a reference to such thing in the Internet, I'm ready to believe it's not a feature in existence.