projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9c7995783d24869d118d7f1a5ab7cd295aeacc0d
[musl]
/
uselocale.c
1
#include "locale_impl.h"
2
#include "pthread_impl.h"
3
4
locale_t uselocale(locale_t l)
5
{
6
pthread_t self = pthread_self();
7
locale_t old = self->locale;
8
if (l) self->locale = l;
9
return old;
10
}