lis_vector_swap(3)
β¨ lis_vector_swap β the manual page, but make it make sense β¨
okay bestie, welcome to the Lis Library Functions corner of the man pages π this one's a little function with a big personality: lis_vector_swap. she swaps. she's literally the trade of the vector world. no cap.
πΈ NAME πΈ
lis_vector_swap β swap the values of the vector elements π¦
like. she takes the values in your vector elements and she swaps them. that's the whole gig. iconic behaviour honestly.
π SYNOPSIS π
#include "lis.h"
LIS_INT lis_vector_swap(LIS_VECTOR x, LIS_VECTOR y);
yes bestie, you gotta #include "lis.h" first, we are NOT skipping the header, that's the rules π
π DESCRIPTION π
Swap the values of the vector elements.
that's it. that's the vibe. x and y trade values, the swap happens, everybody goes home. it's giving mutual exchange. it's giving β¨reciprocityβ¨.
π«Ά INPUT π«Ά
x,yβ The source vectors. these are the girlies coming in with the values, ready to be swapped.
π OUTPUT π
x,yβ The destination vectors. same girlies, new values, walked out the door transformed π«
β EXIT STATUS β
The following exit values are returned:
0β The process is normally terminated. slay, everything went great, we love a success story πunspecifiedβ An error occurred. not the vibe. something went wrong and the page is not gonna elaborate further, that's just how it is π
π₯ SEE ALSO π₯
ngl bestie, if you're out here swapping vectors, go read lis(3) too, it's the whole family, iykyk π
that's the whole page fr fr. this one came from the Lis Library Functions manual, dated 28 Aug 2014 β a classic, an elder, a legend honestly. 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