1 /* The getdate_err variable is stored in the reentrancy structure. This 2 function returns its address for use by the getdate_err macro defined in 3 time.h. */ 4 5 #include <errno.h> 6 #include <reent.h> 7 8 #ifndef _REENT_ONLY 9 10 int * __getdate_err()11__getdate_err () 12 { 13 struct _reent *ptr = _REENT; 14 _REENT_CHECK_MISC(ptr); 15 return _REENT_GETDATE_ERR_P(ptr); 16 } 17 18 #endif 19