mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-02 18:53:22 +00:00
12 lines
186 B
C
12 lines
186 B
C
|
/* get thread-specific reentrant pointer */
|
||
|
|
||
|
#include <internals.h>
|
||
|
|
||
|
struct _reent *
|
||
|
__getreent (void)
|
||
|
{
|
||
|
pthread_descr self = thread_self();
|
||
|
return THREAD_GETMEM(self, p_reentp);
|
||
|
}
|
||
|
|