Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4872 → Rev 4874

/contrib/sdk/sources/newlib/libc/errno/errno.c
0,0 → 1,16
/* The errno variable is stored in the reentrancy structure. This
function returns its address for use by the macro errno defined in
errno.h. */
 
#include <errno.h>
#include <reent.h>
 
#ifndef _REENT_ONLY
 
int *
__errno ()
{
return &_REENT->_errno;
}
 
#endif