lis_output_vector(3)

πŸ“¦ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ lis_output_vector β€” bestie, it's a Lis Library Function πŸ’…

okay so picture this: you've got a vector, it's giving main character energy, and you need to get its data OUT of your program and into a file. That's literally what lis_output_vector(3) is for. Iconic. πŸŽ€


🌸 SYNOPSIS 🌸

#include "lis.h"

LIS_INT lis_output_vector(LIS_VECTOR v, LIS_INT format, char *filename);

πŸ’– DESCRIPTION πŸ’–

Write the vector data to the external file. That's it. That's the whole vibe. Your vector's little numbers get yeeted into a file of your choosing and you can go look at them whenever you want. no cap. ✨


πŸ¦‹ INPUT πŸ¦‹

  • v β€” The vector. Your girl. The data holder. The one we're writing out. πŸ’œ
  • format β€” the format, bestie, pick one:
    • LIS_FMT_PLAIN β€” The PLAIN format 🌈
    • LIS_FMT_MM β€” The Matrix Market format πŸ‘‘
  • filename β€” The destination file. Like, where the data is going. The location. The spot. πŸ“

πŸ™ˆ OUTPUT πŸ™ˆ

None. Not a single thing comes back. She does her job and leaves. silent. mysterious. lowkey powerful. πŸ’€


⭐ EXIT STATUS ⭐

The following exit values are returned:

  • 0 β€” The process is normally terminated 🫢 (we love a clean exit)
  • unspecified β€” An error occurred 😭 (not the vibe, bestie, check your stuff)

πŸ’œ SEE ALSO πŸ’œ


fr fr, don't skip the format argument. LIS_FMT_PLAIN and LIS_FMT_MM are the only two on the menu and you gotta pick one. ✨

that's the whole page, bestie, and if you made it this far: slay. πŸ’… This lil' gem comes to you from the Lis Library Functions, dated 6 Sep 2012, and yes she's still eating. periodt. πŸ‘‘πŸ’–

πŸ“¦ where this page comes from