MemCom Reference Manual > MemCom C API Manual Pages > The Neutral File Formatter > mcNMread

Name

mcNMread — read from neutral file (C API)

Synopsis

#include <memcom.h>

int mcNMread(int nfhandle, const char* patt, int handle);

Description

mcNMread reads (decodes) one or more datasets from the neural file identified by nfhandle and writes them to the MemCom database identified by handle. If the dataset pattern matching string patt is not NULL or blank only datasets matching patt will be decoded. If completed sucessfully, mcNMread returns 0.

Parameters

nfhandle

Neutral file handle (input), see mcNMopen.

patt

Dataset matching pattern (input).If patt is not NULL or blank only datasets matching patt will be encoded.

handle

Database handle from where data is decoded (input).