Last change
on this file was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
353 bytes
|
Line | |
---|
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 * |
---|
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 |
---|
Note: See
TracBrowser
for help on using the repository browser.