.TH ": System Errors" 3avr "Wed Jun 4 2014" "Version 1.8.0svn" "avr-libc" \" -*- nroff -*- .ad l .nh .SH NAME : System Errors \- .SS "Macros" .in +1c .ti -1c .RI "#define \fBEDOM\fP 33" .br .ti -1c .RI "#define \fBERANGE\fP 34" .br .in -1c .SH "Detailed Description" .PP .PP .nf #include .fi .PP .PP Some functions in the library set the global variable \fCerrno\fP when an error occurs\&. The file, \fC<\fBerrno\&.h\fP>\fP, provides symbolic names for various error codes\&. .PP \fBWarning:\fP .RS 4 The \fCerrno\fP 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 \fCerror\fP and when the task examines \fCerrno\fP\&. If another task changes \fCerrno\fP during this time, the result will be incorrect for the interrupted task\&. .RE .PP .SH "Macro Definition Documentation" .PP .SS "#define EDOM 33" Domain error\&. .SS "#define ERANGE 34" Range error\&. .SH "Author" .PP Generated automatically by Doxygen for avr-libc from the source code\&.