ec_node_many - Man Page
Create a many node that matches its child multiple times.
Synopsis
#include <ecoli/node_many.h>
struct ec_node * ec_node_many(
const char *id, /* The node identifier. */
/*
* 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
The node, or NULL on error (errno is set).
See Also
Copyright
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
Info
2026-10-02 Libecoli Programmer's Manual