lis_array_swap(3)
π lis_array_swap β from the Lis Library Functions manual, bestie
okay so picture this: you got two arrays and you want them to trade places. that's it. that's the whole girl. lis_array_swap is the swap the values of the vector elements girlie and she is LOWKEY iconic for it β¨
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_array_swap(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR y[]);
like literally two lines of include-and-call and you're done, no cap π«Ά
πΈ DESCRIPTION πΈ
Swap the values of the vector elements. π¦
that's the whole vibe. x and y walk in, they exchange everything they've got, they walk out. it's giving "we traded lives for a second" and honestly? obsessed. π
π INPUT π
nβ the size of the vectors, bestie. how many elements we're dealing with. know your count or perish πx,yβ the source arrays. the two cuties doing the swap π
π¦ OUTPUT π¦
x,yβ the destination arrays. yes same names, because they come out the other side changed. main character transformation arc fr fr π
β EXIT STATUS β
here's what you can get back when it's all said and done:
0β the process is normally terminated. slay. everything ate, nothing left on the plate π- unspecified β an error occurred. π not the vibe. no details given, just chaos, just mystery, just pain
bestie the error case is literally called unspecified. we do not know what happened. it happened. move on π
π SEE ALSO π
and that's the page, pookie π§ this was lis_array_swap(3), part of the Lis Library Functions manual, dated 3 Dec 2014, and yes it's filed under Man Page because of course it is. go swap something. responsibly. ππ
π¦ 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