EC_STRVEC(3)
π EC_STRVEC(3) β the Libecoli Programmer's Manual, but make it cute π
okay bestie, welcome to the libecoli programmer's manual, and today's main character is ec_strvec. no cap.
β¨ NAME β¨
ec_strvec β allocate a brand new empty string vector. that's it. that's the whole job. she's born empty, she's ready to be filled with strings, and she's slaying from the very first byte. π
πΈ SYNOPSIS πΈ
#include <ecoli/strvec.h>
struct ec_strvec * ec_strvec(
void
);
so like. you include the header, you call the function, you take no arguments (void, she needs nothing from you, she's independent π
), and she hands you back a pointer to a struct ec_strvec. iconic behaviour honestly.
π¦ RETURN VALUE π¦
she returns the new strvec object β your fresh little baby π β OR NULL on error, in which case errno is set, so go check it, bestie. π
fr fr, if you getNULLback, do NOT just start dereferencing it. checkerrno, handle your business, protect your peace. π
π SEE ALSO π
the whole friend group, the whole squad, the entire group chat β go meet them:
ec_strvec_set_attrs(3)ec_strvec_del_last(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_ndup(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the tea β β this page is from libecoli, dated 2026-06-11, and it lives at EC_STRVEC(3) in the Libecoli Programmer's Manual. mwah, go allocate something beautiful, bestie πβ¨
π¦ 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