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 , 6 years ago | |
---|---|
File size: 186 bytes |
Line | |
---|---|
1 | /* get thread-specific reentrant pointer */ |
2 | |
3 | #include <internals.h> |
4 | |
5 | struct _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.