EC_NODE_MANY_SET_PARAMS(3)
β¨ NAME β¨
ec_node_many_set_params β okay bestie, this one sets the parameters of a many node. That's the whole assignment. π
It lives in the Libecoli Programmer's Manual, so you know it's legit.
πΈ SYNOPSIS πΈ
#include <ecoli/node_many.h>
int ec_node_many_set_params(
struct ec_node *gen_node, /* The many node. */
/*
* The child node. It is consumed and will be freed when the parent is
* freed, or immediately on error.
*/
struct ec_node *child,
/*
* Minimum number of repetitions. Use 0 for no minimum.
*/
unsigned int min,
/*
* Maximum number of repetitions. Use 0 for no maximum.
*/
unsigned int max
);
Let's do a little vibe check on those args, shall we? π«Ά
gen_nodeβ the many node. Main character energy, no notes. πchildβ the child node. Heads up though: it is consumed and will be freed when the parent is freed, or immediately on error. So don't go poking it after, bestie. πminβ minimum number of repetitions. Use0for no minimum. Zero means "no min", periodt.maxβ maximum number of repetitions. Use0for no maximum. Zero means "no max", iconic.
π RETURN VALUE π
0 on success, -1 on error (errno is set). That's the tea. Slay. β¨
π¦ SEE ALSO π¦
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
And that's a wrap, gorgeous! This page came from libecoli and it's dated 2026-06-11 β the footer even says EC_NODE_M...SET_PARAMS(3). Now go forth and configure those repetition counts. Ate. πππ¦
π¦ 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