c_getsval - Return the string value(s) for a parameter from a parameter list

SYNTAX

#include "notae.h"

FUNCTION c_getsval( name, list, value )

    char    *name;
    char    list[][CMLEN];
    char    *value;
    

PARAMETERS

name( input, character string )

The name of the parameter to match in the list.

list( input, array of strings )

An array of strings containing the parsed parameters and their specifications in the format:

    list[0]="subcommand_name"
    list[1]="parm_name1=parm_val1 parm_val2 parm_val3"
    ...
    list[n]="parm_namen=parm_val1"

value( output, character string )

The right hand side values returned as a space delimited string.

DESCRIPTION

The list is searched for an occurrence of name and the RHS is returned.

RETURN VALUE

    E_SUCC (0)  --> success
    E_FAIL (-1) --> failure