VistaIOReadEdges(3)

VistaIOReadEdges3

Read a series of edge sets from a stream

Usage

#include <stdio>
#include <vistaio.h>
#include <vistaio.h>

int VistaIOReadEdges (file, attributes, edge_sets)

FILE *file; VistaIOAttrList *attributes; VistaIOEdges (*edge_sets)[];

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.

Overview

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.

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.

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.

Releases

Unchanged in 6 releases since Debian 8 (Jessie).

  1. 8–13

Author

David Lowe <[email protected]>

Adaption to vistaio: Gert Wollny <[email protected]>

From libvistaio-dev 1.2.19-3+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.