mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +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);
|
|
}
|
|
|