VistaIOReadObjects(3)
β¨ VistaIOReadObjects β the manual page, but make it cute β¨
okay bestie, this is VistaIOReadObjects(3) from the Library Functions Manual and it's literally about reading a whole lil squad of objects out of a stream π
πΈ NAME πΈ
VistaIOReadObjects β read a series of objects from a stream π¦
β¨ SYNOPSIS β¨
#include <stdio>
#include <vistaio.h>
int VistaIOReadObjects (file, repn, attributes, objects)
FILE *file;
VistaIORepnKind repn;
VistaIOAttrList *attributes;
VistaIOPointer (*objects)[];
π ARGUMENTS π
fileβ the open stream you wanna read the objects from. it's already open, that's your job, not hers πrepnβ the kind of objects you're hunting for. yes it's giving very "what's your type" energy πattributesβ this one gives back a list of attributes that got read from the stream πedge_setsβ returns a vector of pointers to the objects that got read β¨
π DESCRIPTION π
So VistaIOReadObjects reads a Vista data file from an open stream, collects all the top-level objects of the type you specified with repn, and hands those objects back to you separately from everything else chillin' in the file. periodt π
It's used by VistaIOReadImages, for example, to read and collect images β you just pass VistaIOImageRepn for the repn argument and it ate π₯
π RETURN VALUES π
VistaIOReadObjects returns the number of objects obtained, or 0 if an error shows up π A vector of the objects gets allocated and returned via objects. Any other objects hanging out in the file come back as an attribute list via attributes. no cap π«Ά
π¦ SEE ALSO π¦
VistaIOOpenInputFile(3)VistaIOReadEdges(3)VistaIOReadFile(3)VistaIOReadImages(3)VistaIOWriteObjects(3)stdio(3)
β DIAGNOSTICS β
besides the following, any of the diagnostics produced by VistaIOReadFile may show up π
No type objects present in stream.'' `` β no objects of the type specified byrepnwere encountered in the stream. it's giving empty π
π AUTHOR π
Art Pope <pope@cs.ubc.ca> π
Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com> πΈ
and that's a wrap bestie π this page is from VistaIO Version 1.2.14, dated 24 April 1993 β vintage but still iconic, fr fr β¨π
π¦ where this page comes from
- debian bookworm: libvistaio-dev 1.2.19-3 Β· libvista-orig
- debian trixie: libvistaio-dev 1.2.19-3+b2 Β· libvista-orig
- ubuntu jammy: libvistaio-dev 1.2.19-3 Β· libvista-orig
- ubuntu noble: libvistaio-dev 1.2.19-3 Β· libvista-orig
- ubuntu questing: libvistaio-dev 1.2.19-4
- ubuntu resolute: libvistaio-dev 1.2.19-4build1 Β· libvista-orig
- ubuntu stonking: libvistaio-dev 1.2.19-4build1 Β· libvista-orig
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms