lis_vector_swap(3)

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

✨ 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