EC_NODE_UINT(3)
β¨ EC_NODE_UINT β¨
okay bestie, welcome to ec_node_uint from the Libecoli Programmer's Manual β it's the little function that makes you a whole brand-new unsigned integer node π no cap.
πΈ NAME πΈ
ec_node_uint β create an unsigned integer node. that's it, that's the whole vibe. a node. for unsigned ints. iconic π
π¦ SYNOPSIS π¦
#include <ecoli/node_int.h>
struct ec_node * ec_node_uint(
const char *id, /* The node identifier. */
uint64_t min, /* The minimum valid value (included). */
uint64_t max, /* The maximum valid value (included). */
/*
* The base to use for parsing. If 0, try to guess from prefix.
*/
unsigned int base
);
so like, four lil arguments, one big slay. here's the tea on each one π:
idβ the node identifier, literally just the name tag for your node. *const char **.minβ the minimum valid value, and yes it's included (inclusive, bestie, we're generous). uint64_t.maxβ the maximum valid value, also included. uint64_t.baseβ the base to use for parsing, unsigned int. and the little comment says: if it's0, try to guess from the prefix. so0= "figure it out yourself, king" π
π RETURN VALUE π
you get the node back π«Ά β¦ or NULL on error, and in that case errno is set. so like, check your return value, fr fr. don't be out here dereferencing NULL and acting surprised π
π SEE ALSO π
the whole friend group, go say hi:
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the page, bestie!! this was libecoli β dated 2026-06-11 β and yes the manpage title is literally EC_NODE_UINT(3) if you were wondering what to type. mwah π go build something cute with it. 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