source: trunk/libs/newlib/src/newlib/libc/sys/linux/linuxthreads/getreent.c @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 186 bytes
Line 
1/* get thread-specific reentrant pointer */
2
3#include <internals.h>
4
5struct _reent *
6__getreent (void)
7{
8  pthread_descr self = thread_self();
9  return THREAD_GETMEM(self, p_reentp);
10}
11
Note: See TracBrowser for help on using the repository browser.