ec_node_many_set_params - Man Page
Set the parameters of a many node.
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
);Return Value
0 on success, -1 on error (errno is set).
See Also
Copyright
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
Referenced By
2026-06-11 Libecoli Programmer's Manual