Hi all,
Is there any way we can find the name of a process in QNX from the PID?
Or are there any APIs like getpid() for the process itself to know its name?
ProcessClass_t structure in the "sys/shutdown.h" header stores the process related information like PID and name.
While calling the shutdown_classify() callout during shutdown process, it provides the name of the process too:
http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.lib_ref/topic/s/shutdown_system.html#shutdown_system__shutdown_classify
But this structure is used only by the OS and there isn't any documentation of it.
_______________________________________________
OSTech
http://community.qnx.com/sf/go/post119035
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com