VistaIOPrintParameters(3)

πŸ’– VistaIOPrintParameters(3) πŸ’–

okay bestie, gather round β€” this is a page from the Library Functions Manual, and it's about VistaIOPrintParameters, the little function that spills the tea on a whole set of parameters. ✨


🌸 NAME 🌸

VistaIOPrintParameters β€” print the values of a set of parameters

Like, it literally just prints them. Names, descriptions, values. All of it. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <vistaio.h>

void VistaIOPrintParameters (FILE *f, int nparams,
          VistaIOOptionDescRec params[], VistaIOPointer values);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • f β€” the stream you want the parameters printed to. Where the words go. πŸ“
  • nparams β€” how many entries live in the table of option descriptors. Count them, bestie. πŸ”’
  • params β€” a table of option descriptors, and every single entry describes one (1) parameter. πŸ’…
  • values β€” the location of the structure that's holding all the parameter values. It's giving home address for your data. 🏠

✨ DESCRIPTION ✨

VistaIOPrintParameters prints the names, descriptions, and values of a set of parameters. That's the whole vibe. No cap.

The parameters are described by a table of option descriptors β€” see VistaIOoption(3) if you wanna meet the family. 🫢

Parameter values must be stored in the structure pointed to by values. The offset at which a parameter lies within that structure must be supplied by the value field of that parameter's params table entry. And the appropriate definitions that have this property? Those are produced by the vpdc compiler. 🧚 iconic behavior honestly.


πŸ‘‘ SEE ALSO πŸ‘‘

  • VistaIOoption(3)
  • VistaIOLoadParameters(3)
  • VistaIOParseParamOptions(3)
  • VistaIOReportValidParamOptions(3)

πŸ’œ AUTHOR πŸ’œ

Art Pope <pope@cs.ubc.ca>

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


shoutout to the authors fr fr, we love a documented function πŸ’–

and that's the whole page bestie β€” VistaIO Version 1.2.14, dated 6 June 1994 🌈 (yes she's vintage, she's still serving) β€” now go print those parameters, mwah πŸ’…πŸŽ€