nl_make_name

Synopsis

    
    #include "nortlib.h"
    char *nl_make_name(const char *base, int global);
    

Description

nl_make_name() returns a string of the form: huarp/exp/base where exp is the current value of the environment variable "Experiment" and base is the input argument string. If global is non-zero, the string gets a leading '/'. This is the standard means of building names within the ARP Data Acquisition System architecture which will be used with qnx_name_locate() and qnx_name_attach().

Returns

A pointer to a static buffer containing the expanded name. You must save the string if it is needed for long.

See Also

Nortlib functions.

Source File

/usr/local/src/nortlib/make_name.c

Alphabetical List
Subject List
Return to Manuals Page
webmaster@huarp.harvard.edu
Copyright 2001 by the President and Fellows of Harvard College