assoc_array_cancel_edit(9)
π 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:
assoc_array_iterate(9)assoc_array_find(9)assoc_array_destroy(9)assoc_array_insert(9)assoc_array_insert_set_object(9)assoc_array_delete(9)assoc_array_clear(9)assoc_array_apply_edit(9)assoc_array_gc(9)
Source/version: ./lib Β· Date: October 2026 Β· page: assoc_array_cancel_edit(9). That's the whole vibe β bye bestie! π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms