10 lines
144 B
C
10 lines
144 B
C
#include "pthread.h"
|
|
|
|
#include <pthread.h>
|
|
|
|
int *__errno_location(void)
|
|
{
|
|
struct __pthread *self = pthread_self();
|
|
return &self->thr_errno;
|
|
}
|