EC_STRVEC_DEL_LAST(3)
π EC_STRVEC_DEL_LAST β the Libecoli Programmer's Manual page, but make it cute
okay so bestie, you're here for ec_strvec_del_last from the Libecoli manual (that's section 3, the library girlies section, iykyk) and honestly? this one is a whole vibe. it does exactly one thing and it does it slayfully. let's get into it π
β¨ NAME β¨
ec_strvec_del_last β delete the last entry in the string vector. that's it. that's the function. she pops the last one off and moves on with her life π
πΈ SYNOPSIS πΈ
#include <ecoli/strvec.h>
int ec_strvec_del_last(
struct ec_strvec *strvec /* The pointer to the string vector. */
);
so you pull in <ecoli/strvec.h>, and then you hand her one singular argument: strvec, which is The pointer to the string vector. like, the pointer to the string vector. the one you want the last entry deleted from. that's the whole contract, no cap π«Ά
π₯ RETURN VALUE π₯
0on success-1on error (anderrnois set, so go check it, bestie, she left you a note π)
π¦ SEE ALSO π¦
the whole friend group, fr fr β go say hi to all of them:
ec_strvec_set_attrs(3)ec_strvec_val(3)ec_strvec_cmp(3)ec_strvec_sort(3)ec_strvec_from_array(3)ec_strvec_get_attrs(3)ec_strvec_dup(3)ec_strvec_set(3)ec_strvec_len(3)ec_strvec_dump(3)ec_strvec_sh_lex_str(3)ec_strvec_add(3)ec_strvec_free(3)ec_strvec(3)ec_strvec_ndup(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the page, angel π this one came out of the libecoli manual, dated 2026-06-11, and yes the header/footer girlies stamped it EC_STRVEC_DEL_LAST(3) top and bottom like a little matching set πβ¨
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms