locale.h
This commit is contained in:
parent
23198d16f4
commit
95e7ec1ab5
2 changed files with 64 additions and 5 deletions
|
@ -4,13 +4,12 @@
|
|||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <ctype.h>
|
||||
|
||||
typedef struct {
|
||||
int x;
|
||||
long y;
|
||||
} S;
|
||||
#include <locale.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
setlocale(LC_ALL, "C");
|
||||
struct lconv *c = localeconv();
|
||||
printf("%s\n",c->negative_sign);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue