qnx_name_attach

qnx_name_attach — registers a local or global name.

Syntax

qnx_name_attach (node, name)

		

Arguments

node

The node (0 is local node).

name

The name to attach.

Returns

A name id, useful when calling the qnx_name_detach function. On failure this function returns -1 and sets errno.

Description

This function registers a local or global name. Names can be up to 32 characters long. 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 (nameloc).

Errors are:

EAGAIN Name space used up on this node EBUSY Specified name already exists on that node

Example

Examples of this function are beyond the scope of this documentation.

See Also

qnx_name_detach, qnx_name_locate, ProfilingandDebugging