attachName

attachName — (Deprecated as of Version 4.0) publishes the driver name to the QNX name server.

Synopsis

       
(attachName [name])
	

Parameters

name

Driver name to publish to the QNX 4 name locator server, nameloc. Optional. If not provided, then the name specified by the driver command line arguments (-n option), or the device-dependent default name, is used.

Returns

OK if successful, otherwise

(error "attachName DR_ERR_ATTACH_TASKNAME (time)
Could not declare name name to nameserver")

Description

This command publishes the driver name to the QNX 4 name locator service (nameloc), as an alternative to the Cascade NameServer (see attachNS), for reference by the Cogent C API. With the introduction of QNX 6 compatibility, this command is no longer used, since the driver now requires that the Cascade NameServer (nserve) be running.

This command is normally invoked from the configuration file.

Example

(attachName "my_driver")