]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/BSP/microblaze_0/libsrc/standalone_v4_2/src/errno.c
Update some more standard demos for use on 64-bit architectures.
[freertos] / FreeRTOS / Demo / MicroBlaze_Kintex7_EthernetLite / BSP / microblaze_0 / libsrc / standalone_v4_2 / src / errno.c
1 /* The errno variable is stored in the reentrancy structure.  This
2    function returns its address for use by the macro errno defined in
3    errno.h.  */
4
5 #include <errno.h>
6 #include <reent.h>
7
8 int *
9 __errno ()
10 {
11   return &_REENT->_errno;
12 }