EC_NODE_INT(3)
π EC_NODE_INT(3) π
okay bestie, welcome to the Libecoli Programmer's Manual β this is the page for EC_NODE_INT(3) and honestly? it's giving tiny but mighty. π
β¨ NAME β¨
ec_node_int β Create a signed integer node.
like, that's it. that's the whole job. she makes you a signed int node and she does it flawlessly. π
πΈ SYNOPSIS πΈ
first things first, you gotta let the compiler know you're in:
#include <ecoli/node_int.h>
then here's the whole vibe, signature and all β comments preserved, no cap:
struct ec_node * ec_node_int(
const char *id, /* The node identifier. */
int64_t min, /* The minimum valid value (included). */
int64_t max, /* The maximum valid value (included). */
/*
* The base to use for parsing. If 0, try to guess from prefix.
*/
unsigned int base
);
so yeah, you're handing her four things: an id (the node identifier, obvs), a min which is the minimum valid value (included) β included, bestie, don't forget that part β a max which is the maximum valid value (included), also included, and then base, the base to use for parsing, where if it's 0 she'll try to guess from prefix. main character behavior fr fr. π₯
π¦ RETURN VALUE π¦
she gives you back the node β¨ β¦ or NULL on error, and in that case errno is set. π
not the NULL jump scare. check your errors, queen. π«Ά
π SEE ALSO π
go read her sisters, they ate too:
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
okay that's the whole page, you're literally an expert now, no notes. π this lil beauty comes to you from libecoli, dated 2026-06-11, and it's EC_NODE_INT(3) forever and always. mwah. πβ¨π§
π¦ 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