find a given name on all nodes
#include <sys/name.h> int qnx_name_nodes( pid_t vid, char *name, unsigned num, nid_t *nids );
This function searches all nodes in the network for processes registered as name, and puts the node number of each node that has it into nids. The arguments are as follows:
In contrast to qnx_name_locate(), which finds one occurrence of name, this function finds all occurrences, and lets the application determine which of them to use.
The number of nodes found with the given name.
QNX
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
qnx_name_locate(), qnx_name_attach(), qnx_name_detach(), qnx_name_query(), nameloc utility
"Process symbolic names" in the Process Manager chapter of the QNX System Architecture guide