Subversion Repositories Kolibri OS

Rev

Rev 4872 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 Serge 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 
6
#include 
7
 
8
#ifndef _REENT_ONLY
9
 
10
int *
11
__errno ()
12
{
13
  return &_REENT->_errno;
14
}
15
 
16
#endif