EC_NODE_STR_SET_STR(3)
β¨ NAME β¨
okay so this is ec_node_str_set_str(3) from the Libecoli Programmer's Manual β and bestie, it does exactly one iconic little thing: it sets the string that a string node is gonna match on. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
like, here's the vibe, fr fr:
#include <ecoli/node_str.h>
int ec_node_str_set_str(
struct ec_node *node, /* The string node. */
const char *str /* The string to match. It is duplicated internally. */
);
so you pass in a node (that's The string node., obviously) and a str (The string to match. It is duplicated internally. β yes queen, it makes its own copy, so don't stress about who owns the original π«Ά).
π RETURN VALUE π
0β slay, it worked, success β¨-1β nope, error, anderrnois set so you can go find out what went wrong π
π¦ SEE ALSO π¦
ec_node_str(3)β go read that one too, it's giving main character energy
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page, bestie π this was EC_NODE_STR_SET_STR(3) from libecoli, dated 2026-06-11 β periodt, no cap, go forth and set those strings πβ¨
π¦ 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