Hello All,
I had posted a question on shared libs a long time ago, and was hoping that someone can answer it now.
All I want to know is how can I make a shared lib output some text if I execute it.
For example, glibc is a SO, but if you execute it, you get version info.
I have found atricles that tell me how to write SO's and a lot of usefull info on the net, but I couldnt seem to find how libc does this, as I guess I dont know the right terms/keywords to search for along with SO's.
Thanks Shahed.