#include <srripc.h>
int SrrNameAttach(
nid_t n, const char* name)
;
On success, returns a name ID, used as the argument to SrrNameDetach. On failure, returns -1 and sets errno.
This function attaches a name to this process. If a name starts with a slash '/' then it is considered to be a global name. Global names are registered with optionally run global process name servers.
EAGAIN Name space used up on this node
EBUSY Specified name already exists on that node
Resource Temporarily Unavailable This error may occur when you have exceeded the maximum limit for names. Please refer to the Increasing the Maximum Number of Named Processes section of the Troubleshooting Guide for instructions on how to increase this limit.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.