dc_ist_open - Open an internode shared table

Format

ANSI C, C++

#include <dcist.h>
int  dc_ist_open (char *istname, DCLONG flags)

K&R C

#include <dcist.h>
int  dc_ist_open (istname, flags)
char    *istname;
DCLONG  flags;

Description

The function dc_ist_open() opens a specified internode shared table. When an internode shared table is opened normally, a table descriptor is returned.

Arguments whose values are set in the UAP

istname

Specify the internode shared table name to be opened within eight bytes.

flags

Specify DCNOFLAGS.

Return values

Return valueReturn value (numeric)Explanation
0 or positive integer0 or positive integer indicates a table descriptor.
DCISTER_PROTO-3800The call sequence of functions which access the internode shared table is invalid.
DCISTER_UNDEF-3801The internode shared table name specified for istname is undefined.
DCISTER_NOMEM-3807The memory became insufficient.
DCISTER_OPENED-3808The name of an already open internode shared table was specified for istname.
DCISTER_PARAM_TBLNAME-3810The length of the value specified for the internode shared table name is invalid.
DCISTER_PARAM_FLAGS-3811The value specified for flags is invalid.