lis_array_set_all(3)

๐Ÿ“ฆ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

๐Ÿ’– lis_array_set_all โ€” bestie, it's giving "fill the whole vector" ๐Ÿ’–

okay so literally the manual name is lis_array_set_all(3) and it lives in the Lis Library Functions family, and honestly? she's a simple girl. she does one thing and she does it flawlessly. no cap. ๐ŸŽ€


โœจ SYNOPSIS โœจ

like, here's the whole vibe:

#include "lis.h"

LIS_INT lis_array_set_all(LIS_INT n, LIS_SCALAR value, LIS_SCALAR x[]);

that's it. that's the girl. ๐Ÿฆ‹


๐ŸŒธ DESCRIPTION ๐ŸŒธ

so what she does is โ€” she takes a scalar value and assigns it to every single element of the vector x. all of them. every last one. she does not skip. she does not play favorites. she is thorough, and honestly we love that for her. ๐Ÿ’…


๐Ÿ‘‘ INPUT ๐Ÿ‘‘

here's what you gotta hand her:

  • n โ€” the size of the vector. yes bestie, you have to tell her how big it is. she's not a mind reader. ๐Ÿ”ฎ
  • value โ€” the scalar value to be assigned. this is the thing that's gonna go everywhere. โœจ
  • x โ€” the array that stores the vector. this is the girl getting filled up. ๐Ÿซถ

๐Ÿ’œ OUTPUT ๐Ÿ’œ

  • x โ€” the array with the value assigned to the elements. so like, she hands you back the same array but now every element is value. iconic behaviour, truly. ๐Ÿ˜ญ

๐ŸŒˆ EXIT STATUS ๐ŸŒˆ

she keeps it real and tells you how it went:

  • 0 โ€” the process is normally terminated. slay, we love a happy ending. ๐Ÿ’–
  • unspecified โ€” an error occurred. ๐Ÿ’€ not me getting an unspecified error with no details, the mystery of it all, the drama.
fr fr, unspecified is literally the vaguest thing ever and she said "figure it out bestie" ๐Ÿ™ˆ

๐Ÿงš SEE ALSO ๐Ÿงš

go read the main character, she has lore:


and that's the whole page, periodt. ๐Ÿ’…โœจ this was the lis_array_set_all(3) entry from the Lis Library Functions, dated 3 Dec 2014 โ€” yeah she's a little vintage but she still ate. mwah, love u, go fill some vectors responsibly ๐ŸŽ€๐Ÿฆ‹๐Ÿ’–

๐Ÿ“ฆ where this page comes from