errno.h(3avr)
π errno.h β the little header that's all up in your error business π
okay bestie, welcome to errno.h(3avr) β yes that's the manual page for the AVR-LibC header of the same name, and no it is NOT long, it's giving tiny-iconic-energy and we're gonna get through it together in like twelve seconds π
β¨ NAME β¨
errno.h β that's it, that's the name, she's a header file and she knows it π
πΈ SYNOPSIS πΈ
π§ Macros
#define EDOM 33
#define ERANGE 34
π¦ Variables
int errno
π DESCRIPTION π (the vibes, explained)
okay so here's the thing β errno.h is the home of that one global variable that every libc function gossips through when something goes wrong: errno, declared as int errno. when a function has a lil moment, it doesn't text you, it just sets errno and hopes you check it π
and then you've got the two macros that live here, which are the classic "what kind of problem was it" codes:
EDOMβ defined as33. it's the "your argument was out of the domain, babe, that math doesn't exist" code πERANGEβ defined as34. it's the "your result was out of range, it overflowed/underflowed, we can't hold all that" code π
that's the whole header. no cap. two macros and a variable, and yet the entire error-handling ecosystem of your AVR project is lowkey resting on her shoulders. main character energy fr fr π₯
reminder bestie: these are the values as declared in this header β33and34. don't be out here assuming different numbers, copy them exactly, periodt.
π AUTHOR π
Generated automatically by Doxygen for AVR-LibC from the source code. so like, nobody hand-wrote this one, a robot did it, and honestly? she ate π€β¨
and that's the whole page!! π«Ά this was AVR-LibC Version 2.2.1, manual section 3avr, and it's the errno.h page β go forth and check your errno, bestie, your future self will thank you πππ¦
π¦ where this page comes from
- debian trixie: avr-libc 1:2.2.1-1 Β· BSD-3-Clause
- ubuntu questing: avr-libc 1:2.2.1-1
- ubuntu resolute: avr-libc 1:2.2.1-1build1 Β· BSD-3-Clause
- ubuntu stonking: avr-libc 1:2.2.1-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms