logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

VistaIOReadEdges - read a series of edge sets from a stream

Arguments

file      Specifies the open stream from which the edge sets should be read.

       attributes
                 Returns a list of attributes read from the stream.

       edge_sets Returns a vector of pointers to edge sets read.

Author

       David Lowe <lowe@cs.ubc.ca>

       Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>

VistaIO Version 1.2.14                            4 April 1995                               VistaIOReadEdges(3)

Description

VistaIOReadEdges reads a Vista data file from an open stream, collects the top-level edge sets found, and
       returns the edge sets separately from the file's other contents.

Diagnostics

       Besides the following, any of the diagnostics produced by VistaIOReadFile may be generated.

       ``No edges objects present in stream.''
              No edge sets were encountered in the specified stream.

Name

       VistaIOReadEdges - read a series of edge sets from a stream

Return Values

VistaIOReadEdges  returns  the number of edge sets obtained, or 0 if an error is encountered. A vector of
       the edge sets is allocated and returned via edge_sets. Any other objects found in the file  are  returned
       as an attribute list via attributes.

See Also

VistaIOReadFile(3), VistaIOReadObjects(3), stdio(3),
       VistaIOEdges(3)

Synopsis

#include<stdio>#include<vistaio.h>#include<vistaio.h>intVistaIOReadEdges(file,attributes,edge_sets)FILE*file;VistaIOAttrList*attributes;VistaIOEdges(*edge_sets)[];

See Also