OMparse_stream


Synopsis


int  OMparse_stream (
OMobj_id  object,
FILE *  fp,
0   );

Description

OMparse_stream reads and parses an input stream consisting of V statements, V commands, and V comments. OMparse_stream returns on an EOF condition.

The Object Manager interprets the statements and commands in the context of the object identified by object .

Error messages are sent to stderr.

Arguments

object

The id of an object.

fp

A file pointer.

0

The third argument must be 0.

Returned value

The status code (see Return Status ). A 0 return status indicates that syntax errors were encountered in the stream.