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 API. As of Version 4.0, this command is no longer used, since the Cascade CIF Driver now requires that the Cascade NameServer (nserve) be running.

This command is normally invoked from the configuration file.

Example

    (attachName "my_driver")
      

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.