array_start(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ array_start ✨

okay bestie, welcome to the Library Functions Manual glow-up edition of array_start(3) β€” she's short, she's sweet, and she's about to hand you a pointer like it's a lil gift 🎁


πŸŽ€ NAME πŸŽ€

array_start β€” get pointer to first element in array πŸ’–


🌸 SYNTAX 🌸

#include <libowfat/array.h>

void* array_start(array* x);

and like, in actual use it's giving:

array x;
t* p = array_start(&x);
no cap, that's the whole shape of it. <cyan>include the header</cyan>, <purple>call the function</purple>, <mint>receive the pointer</mint> 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

array_start is literally the same as array_get with pos equal to 0. that's it. that's the function. she's an icon, she's a legend, and she is the moment πŸ‘‘

so if you were about to do the whole array_get(&x, 0) thing but wanted the cuter, more main-character-energy call? yeah. this is her. <hotpink>first element</hotpink> access, zero drama, periodt πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

go read those too, bestie, they're all part of the same friend group πŸ’œ


and that's the vibe check complete!! this was array_start(3) from the Library Functions Manual β€” no extra version drama, no date chaos, just pure function energy 🌈✨ stay hydrated, read your man pages, and slay responsibly πŸ’–πŸŽ€πŸ¦‹