repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix config file path
[AROS.git]
/
compiler
/
clib
/
setlocale.c
blob
088f2c21ecca6f6cb96bb676c1d9b2afe38a8a9c
1
#include <locale.h>
2
#include <string.h>
3
4
char
*
setlocale
(
int
category
,
const char
*
locale
)
5
{
6
if
(
category
<
LC_ALL
||
category
>
LC_TIME
)
7
return
NULL
;
8
9
if
(
locale
==
NULL
||
strcmp
(
locale
,
"C"
) ==
0
)
10
return
"C"
;
11
12
return
NULL
;
13
}