lis_output_vector(3)
β¨ 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 π
lis(3)- http://www.ssisc.org/lis/ β the official site, go look, iykyk π₯
fr fr, don't skip the format argument.LIS_FMT_PLAINandLIS_FMT_MMare 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
- fedora 43: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 43: lis-doc 2.1.11-1.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 44: lis-doc 2.1.11-1.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: lis 2.1.10
- nixpkgs unstable: lis 2.1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms