mcParamGet — Get MemCom system parameters
#include <memcom.h> int mcParamGet(int key, int* param);
mcParamGet
returns
MemCom system parameters. If completed
successfully, the function returns 0. Otherwise, a negative value
indicating the MemCom error number is
returned.
key
System parameter name of parameter to be retrieved (input). Valid definitions are:
MC_ABORT_LEVEL
Current abort level flag. A value of
MCINITA
specifies abort on error
(default), and MCINITC
specifies
continue on error.
MC_NBYTE_PER_WORD
Number of bytes per MemCom word. Fortran API compatibility parameter.
MC_NWFLOAT
Number of MemCom
words per mcFloat64
data type.
Fortran API compatibility parameter.
MC_FILE_NAME_LENGTH
Maximum file name size (in bytes).
MC_SET_NAME_LENGTH
Maximum dataset or object name size (in bytes).
MC_RTABLE_LENGTH
Current relational table size in bytes.
MC_RTABLE_LENGTH_MAX
Maximum relational table size in bytes. If
TABLE_LENGTH_MAX
is
0
the size is not limited.
MC_RTABLE_LENGTH_INCR
Current relational table size increment in bytes.
MC_ENDIAN
Byte order of current platform.
MC_ENDIAN_L
designates "little
endian" and MC_ENDIAN_B
"big
endian" representation.
param
Parameter returned by this request (output).
See also mcPutParam