\hypertarget{group__avr__errno}{}\doxysubsection{$<$errno.\+h$>$\+: System Errors}
\label{group__avr__errno}\index{$<$errno.h$>$: System Errors@{$<$errno.h$>$: System Errors}}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__avr__errno_ga5fe247e079b591a68e0fdbf7caec5b70}{E\+D\+OM}}~33
\item 
\#define \mbox{\hyperlink{group__avr__errno_gaa1591a4f3a86360108de5b9ba34980ca}{E\+R\+A\+N\+GE}}~34
\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__avr__errno_gad65a8842cc674e3ddf69355898c0ecbf}{errno}}
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <\mbox{\hyperlink{errno_8h}{errno.h}}>}}
\end{DoxyCode}


Some functions in the library set the global variable {\ttfamily errno} when an error occurs. The file, {\ttfamily $<$\mbox{\hyperlink{errno_8h}{errno.\+h}}$>$}, provides symbolic names for various error codes. 

\doxysubsubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__avr__errno_ga5fe247e079b591a68e0fdbf7caec5b70}\label{group__avr__errno_ga5fe247e079b591a68e0fdbf7caec5b70}} 
\index{$<$errno.h$>$: System Errors@{$<$errno.h$>$: System Errors}!EDOM@{EDOM}}
\index{EDOM@{EDOM}!$<$errno.h$>$: System Errors@{$<$errno.h$>$: System Errors}}
\doxyparagraph{\texorpdfstring{EDOM}{EDOM}}
{\footnotesize\ttfamily \#define E\+D\+OM~33}

Domain error. \mbox{\Hypertarget{group__avr__errno_gaa1591a4f3a86360108de5b9ba34980ca}\label{group__avr__errno_gaa1591a4f3a86360108de5b9ba34980ca}} 
\index{$<$errno.h$>$: System Errors@{$<$errno.h$>$: System Errors}!ERANGE@{ERANGE}}
\index{ERANGE@{ERANGE}!$<$errno.h$>$: System Errors@{$<$errno.h$>$: System Errors}}
\doxyparagraph{\texorpdfstring{ERANGE}{ERANGE}}
{\footnotesize\ttfamily \#define E\+R\+A\+N\+GE~34}

Range error. 

\doxysubsubsection{Variable Documentation}
\mbox{\Hypertarget{group__avr__errno_gad65a8842cc674e3ddf69355898c0ecbf}\label{group__avr__errno_gad65a8842cc674e3ddf69355898c0ecbf}} 
\index{$<$errno.h$>$: System Errors@{$<$errno.h$>$: System Errors}!errno@{errno}}
\index{errno@{errno}!$<$errno.h$>$: System Errors@{$<$errno.h$>$: System Errors}}
\doxyparagraph{\texorpdfstring{errno}{errno}}
{\footnotesize\ttfamily int errno}



Error code for last error encountered by library. 

The variable {\ttfamily errno} holds the last error code encountered by a library function. This variable must be cleared by the user prior to calling a library function.

\begin{DoxyWarning}{Warning}
The {\ttfamily errno} global variable is not safe to use in a threaded or multi-\/task system. A race condition can occur if a task is interrupted between the call which sets {\ttfamily error} and when the task examines {\ttfamily errno}. If another task changes {\ttfamily errno} during this time, the result will be incorrect for the interrupted task. 
\end{DoxyWarning}
