summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/05/main.c b/05/main.c
index b02f95f..a77ccf2 100644
--- a/05/main.c
+++ b/05/main.c
@@ -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;
}