Given the name of a service or daemon, is there some way by which I can get the location of that service from a C++ program in Linux?
I hope, one way is to search the proc filesystem using it pid. Does there exist some Linux functions for this?
Thank You
edit: To be more specific I am working on Linux equivalent code for this program in Windows.