repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of ssh://sourceware.org/git/glibc
[glibc.git]
/
locale
/
tst-duplocale.c
blob
53e5fbb8fec0863f9da3c7b74ec8588797f6608f
1
#include <locale.h>
2
#include <stdio.h>
3
4
static int
5
do_test
(
void
)
6
{
7
locale_t d
=
duplocale
(
LC_GLOBAL_LOCALE
);
8
if
(
d
!= (
locale_t
)
0
)
9
freelocale
(
d
);
10
return
0
;
11
}
12
13
#define TEST_FUNCTION do_test ()
14
#include
"../test-skeleton.c"