VistaIOWriteEdges(3)
πΎ VistaIOWriteEdges β bestie edition πΎ
okay so picture this: you're in the Library Functions Manual section of the man pages (that's the (3) vibe, iykyk) and you just wanna dump a whole bunch of edge sets into a stream. that's literally it. that's the whole girl. π¦
β¨ NAME β¨
VistaIOWriteEdges β write a series of edge sets to a stream π
πΈ SYNOPSIS πΈ
#include <stdio>
#include <vistaio.h>
#include <vistaio.h>
VistaIOBoolean VistaIOWriteEdges (file, attributes, nedges, edges)
FILE *file;
VistaIOAttrList attributes;
int nedges;
VistaIOEdges edges[nedges];
not me spotting <vistaio.h> listed twice β yeah, that's literally how it is in the original, so I'm keeping it exactly like that, no cap. π«Ά
π ARGUMENTS π
fileβ the open stream you want the edges written to. like, the destination, bestie. πattributesβ a list of attributes that get written to the stream too. πnedgesβ how many edge sets you're writing. the count. the number. the receipts. π’edgesβ the actual edge sets being written. the main characters, honestly. π
π DESCRIPTION π
VistaIOWriteEdges writes a series of edge sets to an open stream as a Vista data file. πΎβ¨
so here's the order, and the order matters: the edge sets edges[0] through edges[nedges - 1] get written, and then any attributes in the attributes list come after them. edges first, attributes after. periodt. π
and the tea on attributes: it can totally be NULL if you're only writing edge sets and nothing else. so if it's just edges, you're fine, no worries. π
π«Ά RETURN VALUES π«Ά
VistaIOWriteEdges returns TRUE if it succeeded and FALSE otherwise. π
okay but real talk β if there's an error, the data written to the stream may be incomplete. so like, don't trust a half-written stream, bestie. check that return value. π
π₯ SEE ALSO π₯
π AUTHOR π
David Lowe <lowe@cs.ubc.ca> π
Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com> β¨
and that's the whole page, babe β this was VistaIO Version 1.2.14, dated 24 April 1993, which is iconic in a vintage kinda way. slay, go write those edges. π ππ
π¦ 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