EC_VEC_NDUP(3)
β¨ EC_VEC_NDUP β¨
okay bestie, welcome to ec_vec_ndup from the Libecoli Programmer's Manual π it's a lil function in section 3 of the manual and it does exactly one iconic thing: it duplicates a portion of a vector. that's it. that's the whole vibe. π¦
πΈ NAME πΈ
ec_vec_ndup β duplicate a portion of a vector π
literally just... a slice, but make it a whole new vector. no cap.
π« SYNOPSIS π«
#include <ecoli/vec.h>
struct ec_vec * ec_vec_ndup(
const struct ec_vec *vec,
size_t off,
size_t len
);
so you're gonna #include <ecoli/vec.h> first, obvi π and then it hands you back a struct ec_vec * β a whole fresh pointer, main character energy π
π SEE ALSO π
the friend group, fr fr β go read these too, they're all part of the same era:
ec_vec_add_ptr(3)ec_vec_free(3)ec_vec(3)ec_vec_add_u8(3)ec_vec_add_u16(3)ec_vec_add_by_ref(3)ec_vec_get(3)ec_vec_dup(3)ec_vec_add_u64(3)ec_vec_add_u32(3)
π«Ά COPYRIGHT π«Ά
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page, bestie π this was libecoli, dated 2026-06-11, and yeah β EC_VEC_NDUP(3) ate and left no crumbs πβ¨ mwah, go duplicate something responsibly π§ββοΈπ
π¦ 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