EC_NODE_SUBSET_MIN(3)
π NAME π
ec_node_subset_min β bestie, this makes you a brand new empty subset node, and it comes with a minimum number of children that have to match. Like, a headcount requirement. No gatekeeping, just a quota. β¨
π SYNOPSIS π
#include <ecoli/node_subset.h>
struct ec_node * ec_node_subset_min(
const char *id, /* The node identifier. */
unsigned int min /* The minimum number of children that must match. */
);
πΈ DESCRIPTION πΈ
So you've got this empty subset node, right? And min is doing the absolute most β it's the floor, the bare minimum, the "you shall not pass with fewer than this many matching children" energy. π
And then, to actually give it some children? That's not this function's job, bestie. You gotta go use ec_node_subset_add(). This one just sets the stage. It's giving main character setup, not the whole plot. π
β RETURN VALUE β
You get the node back β slay. π«Ά
Or you get NULL if something went wrong, and in that case errno is set. So like, check your errno, it's literally telling you what happened. π
π¦ SEE ALSO π¦
Go read the whole friend group, fr fr. π
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
π That's the whole page, no notes. This one's from the libecoli manual, dated 2026-06-11 β so when you're citing your sources, that's the version and the date, periodt. β¨
π¦ 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