assoc_array_cancel_edit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ assoc_array_cancel_edit β€” Kernel API Manual πŸ’–

✨ NAME ✨

assoc_array_cancel_edit β€” Discard an edit script. Like, yeet the script without touching the array, bestie.

🌸 SYNOPSIS 🌸

void assoc_array_cancel_edit (struct assoc_array_edit *edit );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • edit β€” the script to discard. That's the one getting cancelled, no cap.

πŸ’… DESCRIPTION πŸ’…

Okay so this frees an edit script and all the preallocated data it holds, but it does not make any changes to the associative array it was intended for. It's giving "clean up your own mess, leave the array alone." ✨

NOTE! In the case of an insertion script, this does not release the leaf that was to be inserted. That is left to the caller. So the caller has to handle that leaf β€” this function is not doing it, periodt. πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./lib/assoc_array.c, plus the whole squad:


Source/version: ./lib Β· Date: October 2026 Β· page: assoc_array_cancel_edit(9). That's the whole vibe β€” bye bestie! 🫢✨

πŸ“¦ where this page comes from