EC_STR_PARSE_LLINT(3)
β¨ NAME β¨
ec_str_parse_llint β parse a string for a signed integer, bestie π
okay so welcome to the EC_STR_PARSE_LLINT(3) page from the Libecoli Programmer's Manual π«Ά this function is literally here to take a string and turn it into a signed integer. no cap.
πΈ SYNOPSIS πΈ
#include <ecoli/string.h>
int ec_str_parse_llint(
const char *str, /* The string to parse. */
unsigned int base, /* The base (0 means "guess"). */
int64_t min, /* The minimum allowed value. */
int64_t max, /* The maximum allowed value. */
int64_t *val /* The pointer to the value to be set on success. */
);
like, you hand it a str to parse, a base where 0 means βguessβ π, a min and a max for the allowed range, and a pointer val that gets set on success. it's giving βtrust me, I'll fill in the valueβ energy π
π RETURN VALUE π
On success, return 0 β¨. Otherwise, return -1 and set errno π. periodt.
π¦ SEE ALSO π¦
ec_str_startswith(3)ec_str_is_space(3)ec_strcmp_count(3)ec_str_parse_ullint(3)ec_str_quote(3)ec_str_wrap(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
libecoli Β· 2026-06-11 Β· EC_STR_PARSE_LLINT(3)
and that's the whole vibe, bestie π thanks for reading, slay responsibly πβ¨
π¦ 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