]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/BSP/microblaze_0/libsrc/standalone_v5_4/src/errno.c
Update the Microblaze hardware design and BSP to the latest IP and tool versions.
[freertos] / FreeRTOS / Demo / MicroBlaze_Kintex7_EthernetLite / BSP / microblaze_0 / libsrc / standalone_v5_4 / 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 #include "xil_types.h"
8 sint32 * __errno (void);
9
10 sint32 *
11 __errno (void)
12 {
13   return &_REENT->_errno;
14 }