mas_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mas_store(9) β€” the Kernel API Manual, bestie edition πŸ“

okay so real talk, this is mas_store(9) from the Kernel API Manual, and honestly? iconic behaviour from the maple tree crew. let's get into it 🧚


✨ NAME ✨

mas_store β€” stores an @entry. that's it, that's the whole job, and she does it slayfully πŸ’–


🌸 SYNOPSIS 🌸

void * mas_store (struct ma_state *mas , void *entry );

look at her. simple signature, zero drama, all vibes ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • mas β€” the maple state 🍁 like, the whole situation you're working inside of.
  • entry β€” the entry you're storing. the thing. the icon. the moment πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: mas->index and mas->last are what you use to set the range for the entry 🫢 that's the whole mechanic. the range comes from the state, not from extra args, periodt.


⭐ RETURN ⭐

returns the first entry between mas->index and mas->last, or NULL πŸ’€ no cap, that's it.

ngl, if you get NULL back, don't come for me β€” that's just what the manpage says πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

okay this list is long and honestly? she ate. go read these if you wanna be a maple tree main character πŸ‘‘

kernel file ./lib/maple_tree.c plus:


and that's the whole page, bestie 🫢 this little gem lives in ./lib, dates from October 2026, and answers to the name mas_store(9). lowkey obsessed. bye πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from