OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

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